[debian-mysql] Bug#890962: libmariadb-dev: Cannot run mysql_config & mariadb_config when dpkg-dev isn't installed

Takuro Ashie ashie at clear-code.com
Wed Feb 21 07:21:30 UTC 2018


Package: libmariadb-dev
Version: 10.3.0-0+exp2
Severity: normal

I got the following error when I run mysql_config without dpkg-dev
package:

  $ mysql_config --cflags
  /usr/bin/mysql_config: 2: /usr/bin/mysql_config: dpkg-architecture: not found
  /usr/bin/mysql_config: 2: exec: /usr/lib//mysql_config: not found

  $ mariadb_config --cflags
  /usr/bin/mariadb_config: 2: /usr/bin/mariadb_config: dpkg-architecture: not found
  /usr/bin/mariadb_config: 2: exec: /usr/lib//mariadb_config: not found

dpkg-architecture is included in dpkg-dev.
So libmariadb-dev should depend on it.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmariadb-dev depends on:
ii  libc6        2.26-6
ii  libmariadb3  10.3.0-0+exp2
ii  zlib1g-dev   1:1.2.8.dfsg-5

libmariadb-dev recommends no packages.

libmariadb-dev suggests no packages.

-- no debconf information



More information about the pkg-mysql-maint mailing list