From: mana at cyor dot de Operating system: Suse 9.1 PHP version: 5.1.1 PHP Bug Type: Compile Failure Bug description: undefined reference to `xmlParserInputBufferCreateFilenameDefault' durink link
Description: ------------ During linking for sapi/cli/php there is an error thrown by ld in ext/libxml/libxml.c (see below) I tryed ldconfig and several different versions of libxml >= 2.6.11. My Suse update servers do not provide me with a recent enough version so i used the standard prefix /usr/local configured php --with-libxml-dir=/usr/local Reproduce code: --------------- ./configure --with-config-file-path=/etc --with-apxs2=/usr/local/apache22/bin/apxs --enable-mbstring --with-openssl --with-kerberos --with-zlib --with-bzip2 --enable-calendar --with-curl --with-curlwrappers --with-inifile --enable-exif --enable-ftp --with-gd --with-ttf --with-ldap --with-mbstring --with-mcrypt --with-mhash --with-imap-ssl--with-mysql --with-mysqli=/usr/local/bin/mysql_config --with-ncurses --enable-pcntl --with-pdo-mysql --with-readline --with-shmop --with-snmp --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-wddx --with-xsl --with-xmlreader --with-pear=/usr/local/pear --with-xmlrpc --with-libxml-dir=/usr/local Actual result: -------------- [...] -o sapi/cli/php ext/libxml/.libs/libxml.o(.text+0xa42): In function `zm_deactivate_libxml': /root/source_downloads/php-5.1.1/ext/libxml/libxml.c:644: undefined reference to `xmlParserInputBufferCreateFilenameDefault' ext/libxml/.libs/libxml.o(.text+0xa4e):/root/source_downloads/php-5.1.1/ext/libxml/libxml.c:645: undefined reference to `xmlOutputBufferCreateFilenameDefault' ext/libxml/.libs/libxml.o(.text+0xafa): In function `zm_activate_libxml': /root/source_downloads/php-5.1.1/ext/libxml/libxml.c:624: undefined reference to `xmlParserInputBufferCreateFilenameDefault' ext/libxml/.libs/libxml.o(.text+0xb06):/root/source_downloads/php-5.1.1/ext/libxml/libxml.c:625: undefined reference to `xmlOutputBufferCreateFilenameDefault' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=35603&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35603&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35603&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35603&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35603&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35603&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35603&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35603&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35603&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35603&r=support Expected behavior: http://bugs.php.net/fix.php?id=35603&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35603&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35603&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35603&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35603&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35603&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35603&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35603&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35603&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35603&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35603&r=mysqlcfg