Bug #61196 [Com]: Unable to load dynamic library, undefined symbol

From: Date: Mon, 16 Dec 2013 06:50:07 +0000
Subject: Bug #61196 [Com]: Unable to load dynamic library, undefined symbol
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183348@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61196&edit=1 ID: 61196 Comment by: floren at yqed dot com Reported by: floren at yqed dot com Summary: Unable to load dynamic library, undefined symbol Status: No Feedback Type: Bug Package: Dynamic loading Operating System: CentOS 5.7 PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: I forgot to mention that the build is made on CentOS 6.5 x86_64. Previous Comments: ------------------------------------------------------------------------ [2013-12-16 06:18:22] floren at yqed dot com Here it is the new %build section I use for PHP 5.5.7: http://pastie.org/private/ufwgue8ipdpfko4aejv0g I have issues when I start the php-fpm service: [root@apollo ~]# service php-fpm start Starting php-fpm: [16-Dec-2013 00:34:58] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0 [16-Dec-2013 00:34:58] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.so: undefined symbol: mysqlnd_get_client_version in Unknown on line 0 [ OK ] ------------------------------------------------------------------------ [2013-02-18 00:35:42] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2012-05-02 07:13:27] uw@php.net There seem to be multiple build targets in your script. Please, paste the one into a bug system comment that leads to the error. Thanks. ------------------------------------------------------------------------ [2012-02-27 20:00:57] floren at yqed dot com Please note the --enable-mysqlnd, present into build() function. I'm forced to use it, or else the mysqli related functions are not available into phpinfo(). I obtain the same results, if I force to "yes" the PHP_MYSQLND_ENABLED variable: PHP_MYSQLND_ENABLED=yes export PHP_MYSQLND_ENABLED ------------------------------------------------------------------------ [2012-02-27 19:53:30] floren at yqed dot com Description: ------------ I compiled successfully PHP with the following configuration: http://pastie.org/3474406 Everything works as expected, except when I run PHP from command line. I was wondering if I missed something, thank you for your help. Test script: --------------- # php -r 'echo 1;' PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.so: undefined symbol: mysqlnd_get_client_version in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61196&edit=1

« previous php.bugs (#183348) next »