#47819 [NEW]: Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at startup

[email protected] ("shahar dot e at zend dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             shahar dot e at zend dot com
Operating system: Linux i386
PHP version:      5.3.0RC1
PHP Bug Type:     PDO related
Bug description:  Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init  at startup

Description:
------------
I'm putting this under PDO even though this is probably a mysqlnd/build
issue.
 
I've compiled PHP5.3.0-RC1 with --enable-debug and
--enable-pdo-mysql=mysqlnd,shared. When I try to load the PDO MySQL
extension I get this:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/extensions/debug-non-zts-20090115/pdo_mysql.so' -
/usr/local/lib/php/extensions/debug-non-zts-20090115/pdo_mysql.so:
undefined symbol: mysqlnd_debug_init in Unknown on line 0

Some info:

PHP Version => 5.3.0RC1
System => Linux wintergreen 2.6.28-gentoo-r2 #1 PREEMPT Sun Mar 8 17:10:56
IST 2009 i686
Build Date => Mar 27 2009 14:37:12
Configure Command =>  './configure'  '--prefix=/usr/local' '--with-apxs2'
'--enable-debug' '--with-openssl' '--with-pcre-regex' '--with-zlib'
'--enable-bcmath=shared'
 '--with-bz2=shared' '--enable-calendar=shared' '--with-curl=shared'
'--with-enchant=shared' '--enable-exif=shared' '--enable-ftp=shared'
'--with-gd=shared' '--with-t
1lib' '--enable-gd-native-ttf' '--with-gettext=shared'
'--enable-intl=shared' '--enable-mbstring=shared' '--with-mcrypt=shared'
'--with-mysql=shared,mysqlnd' '--with-
mysql-sock=/var/run/mysqld/mysqld.sock' '--with-mysqli=shared,mysqlnd'
'--enable-pcntl=shared' '--with-pdo-mysql=shared,mysqlnd'
'--with-pdo-sqlite' '--with-readline'
 '--enable-soap=shared' '--enable-sockets=shared' '--enable-sqlite-utf8'
'--with-tidy=shared' '--enable-zip=shared' '--with-pear'



-- 
Edit bug report at http://bugs.php.net/?id=47819&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=47819&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=47819&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=47819&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=47819&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47819&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=47819&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=47819&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=47819&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=47819&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=47819&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=47819&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=47819&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=47819&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=47819&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47819&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47819&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=47819&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=47819&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=47819&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=47819&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=47819&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.