[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

<Apologies for duplicate mails>

Hi Christian,

at first, the right place for this mail would be  

On Monday 08 January 2007 16:34, Christian Hammers wrote:
> 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.

I tried this first, but it was not possible out of the box.

> 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.

To link against libmysqlclient12-dev leads me into the following configure 
error (libmysqlclient14-dev and above are recognised):

configure: error: wrong mysql library version or lib not found. Check 
config.log for more information.
make: *** [configure-apache2-stamp] Error 1

Maybe you (or anybody else) can enlight me where is the trouble or what maybe 
a work around.

Thanks and with kind regards, Jan.
Never write mail to <waja@spamfalle.info>, you have been warned!
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++

Attachment: pgpSEWCC11j5L.pgp
Description: PGP signature

Reply to: