[debian-mysql] Bug#673574: mysql_config{_, _pic} --libmysqld-libs no longer lists -L/usr/lib/mysql

Modestas Vainius modax at debian.org
Sat May 19 20:22:45 UTC 2012


Package: libmysqld-pic
Version: 5.5.23-2
Severity: important

Hello,

as of 5.5.23, neither mysql_config nor mysql_config_pic --libmysqld-libs have
-L/usr/lib/mysql in their output (but that's where libmysqld_pic.a lives)
therefore it is no longer possible for the external configure scripts to locate
libmysqd_pic.a using mysql_config{_,_pic} alone. 5.1 used to have it.

In 5.1.61, mysql_config output used to be:

$ mysql_config
Usage: /usr/bin/mysql_config [OPTIONS]
Options:
        --cflags         [-I/usr/include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -DUNIV_LINUX]
        --include        [-I/usr/include/mysql]
        --libs           [-rdynamic -L/usr/lib/mysql -lmysqlclient]
        --libs_r         [-rdynamic -L/usr/lib/mysql -lmysqlclient_r]
        --plugindir      [/usr/lib/mysql/plugin]
        --socket         [/var/run/mysqld/mysqld.sock]
        --port           [0]
        --version        [5.1.61]
        --libmysqld-libs [-rdynamic -L/usr/lib/mysql -lmysqld -ldl -lwrap -lrt]

As of 5.5.23, it is:

$ mysql_config_pic
Usage: /usr/bin/mysql_config_pic [OPTIONS]
Options:
        --cflags         [-I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing  -fPIC -g]
        --include        [-I/usr/include/mysql]
        --libs           [-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl]
        --libs_r         [-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -lssl -lcrypto -ldl]
        --plugindir      [/usr/lib/mysql/plugin]
        --socket         [/run/mysqld/mysqld.sock]
        --port           [0]
        --version        [5.5.23]
        --libmysqld-libs [-L/usr/lib/x86_64-linux-gnu -lmysqld -lpthread -lz -lm -lrt -lssl -lcrypto -lwrap -lcrypt -ldl -laio]
        --variable=VAR   VAR is one of:
                pkgincludedir [/usr/include/mysql]
                pkglibdir     [/usr/lib/x86_64-linux-gnu]
                plugindir     [/usr/lib/mysql/plugin]

As you see, /usr/lib/mysql is nowhere to be found in 5.5.23 output.

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmysqld-pic depends on:
ii  libmysqlclient-dev  5.5.23-2

libmysqld-pic recommends no packages.

libmysqld-pic suggests no packages.

-- no debconf information





More information about the pkg-mysql-maint mailing list