PHP 4.0 Bug #10222: php linking against wrong mysqlclient lib and causing crash on startup

From: Date: Sat, 07 Apr 2001 13:51:47 +0000
Subject: PHP 4.0 Bug #10222: php linking against wrong mysqlclient lib and causing crash on startup
Groups: php.dev 
Request: Send a blank email to php-dev+get-51102@lists.php.net to get a copy of this message
From: vk@mac.dhs.org Operating system: linux rh6.2 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: php linking against wrong mysqlclient lib and causing crash on startup i have several mysql daemons (different versions) running on my system. the problem is that php is always compiled with -lmysqlclient and thus links against the default library (in my case /usr/lib/libmysqlclient*) even if you specify a different path to mysql during ./configure This was causing crash (segfault) on startup with all versions of apache after 1.3.14 and all versions of php 4+ I just figured out that this library missmatch was causing this problem, the crash has already been explained in bug #7976 once upon a time. -- Edit Bug report at: http://bugs.php.net/?id=10222&edit=1

« previous php.dev (#51102) next »