Bug #61196 [Com]: Unable to load dynamic library, undefined symbol
| From: | floren at yqed dot com | Date: | Mon, 27 Feb 2012 20:00:57 +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-167901@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: Open
Type: Bug
Package: Dynamic loading
Operating System: CentOS 5.7
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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