Bug #61196 [Opn->Fbk]: Unable to load dynamic library, undefined symbol
| From: | uw@php.net | Date: | Wed, 02 May 2012 07:13:27 +0000 |
| Subject: | Bug #61196 [Opn->Fbk]: Unable to load dynamic library, undefined symbol | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170072@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
Updated by: uw@php.net
Reported by: floren at yqed dot com
Summary: Unable to load dynamic library, undefined symbol
-Status: Open
+Status: 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:
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.
Previous Comments:
------------------------------------------------------------------------
[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