[php-maint] PHP with MySQL support and compability with other
apache modules that use MySQL
vorlon at debian.org
Thu Oct 20 02:10:56 UTC 2005
On Thu, Oct 20, 2005 at 03:52:29AM +0200, Jonas Meurer wrote:
> On 20/10/2005 Adam Conrad wrote:
> > Jonas Meurer wrote:
> > > After investigating the bug and conversation with the python-mysqldb
> > > upstream author, I'm quite sure that the problem is the php4 apache
> > > module, or even better, it's mysql extension.
> > We don't use the internal mysql library, we use one of the Debian ones,
> > however we use libmysqlclient12, and there's a fair chance you're using
> > libmysqlclient14, and all hell has broken loose. Symbol versioning has
> > recently been added to these libraries, so as packages get rebuilt,
> > everything should settle again, and the segfaults will go away.
> hello Adam,
> ah, so symbol versioning has been added to which libs? the mysql
> libraries? do the versions in debian/unstable already have symbol
> versioning? if so, just rebuilding python-mysqldb with a new upload
> should fix that problem, shouldn't it?
The problem is more complicated than that, and is related to which DSO,
linked against which library, is loaded first by apache. Rebuilding
python-mysqldb against the current version of libmysqlclient14 will address
*some* segfaults, but not all of them because a) libmysqlclient12 does not
have versioned symbols, and b) even if it did, php4 can't be rebuilt for
that right now due to the massive library transitions it's stuck in the
middle of, and when it can be rebuilt it ought to be rebuilt against
So, to eliminate segfaults: 1) rebuild python-mysqldb against the new
libmysqlclient14, 2) make sure apache loads php4 *first* so that any
unversioned symbol references are preferentially resolved against
libmysqlclient12 instead of 14.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon at debian.org http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20051019/33524f7b/attachment.pgp
More information about the pkg-php-maint