[php-maint] php5-mysql in backports.org linked against
libmysqlclient14?
Jan Wagner
waja at cyconet.org
Mon Jan 8 17:49:50 CET 2007
<Apologies for duplicate mails>
Hi Christian,
at first, the right place for this mail would be
backports-users at lists.backports.org.
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 at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
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+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070108/f8a42ec0/attachment.pgp
More information about the pkg-php-maint
mailing list