ID: 35603 User updated by: mana at cyor dot de Reported By: mana at cyor dot de -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Suse 9.1 PHP Version: 5.1.1 New Comment:
i tried 2.6.22, 2.6.21, 2.6.11 and at last 2.6.22 again. The version provided via yast is 2.6.7, but i dont want php to use that. the configure script warned my anyway so i had to compile using the /usr/local prefix. thanks for that quick reply :)) Previous Comments: ------------------------------------------------------------------------ [2005-12-08 17:59:48] [EMAIL PROTECTED] What libxml2 version are you using? ------------------------------------------------------------------------ [2005-12-08 17:56:46] mana at cyor dot de 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 this bug report at http://bugs.php.net/?id=35603&edit=1