[php-maint] php5-mysql in backports.org linked against libmysqlclient14?

Christian Hammers ch at debian.org
Mon Jan 8 16:34:42 CET 2007


Hello

I've just noticed that 5.2.0-8~bpo.1 is linked against libmysqlclient14
whereas the old version 5.1.6-1~bpo.1 was linked against
libmysqlclient12.

IIRC, this might lead to segfaults if e.g. apache uses
libapache-mod-auth-mysql linked against libmysqlclient12 or some other
PHP module has dependencies to NSS which uses libnss-mysql as you then
have two mysql libraries with the same symbols linked into one process.

Since Etch this is no longer a problem as we introduced "versioned
symbols" but in Sarge they were apparently not yet present:

# objdump -T /usr/lib/libmysqlclient.so.12 | grep mysql_close
0000b0c0 g    DF .text  0000025d  Base        mysql_close

# objdump -T /usr/lib/libmysqlclient.so.14 | grep mysql_close
000366b0 g    DF .text  0000011a  Base        mysql_close

I would recommend to build depend on libmysqlclient12-dev again.

bye,

-christian-




More information about the pkg-php-maint mailing list