ID: 39528 Updated by: [EMAIL PROTECTED] Reported By: aleksey dot ovcharenko at gmail dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: FreeBSD 6.1-RELEASE-p7 PHP Version: 5.2.0
Previous Comments: ------------------------------------------------------------------------ [2006-11-16 10:04:40] aleksey dot ovcharenko at gmail dot com Seems like it's only configure problem. As soon as rebuild libxml2 without pthread I was able to configure and build PHP 5.2.0. After that I reinstalled libxml2: # xmllint --version xmllint: using libxml version 20626 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug And php binary has been able to see that library: # php -i | grep -i libxml Configure Command => './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-spl' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--enable-zend-multibyte' '--disable-ipv6' '--prefix=/usr/local' libxml libXML support => active libXML Version => 2.6.26 libXML streams => enabled ------------------------------------------------------------------------ [2006-11-16 09:30:47] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2006-11-16 08:35:32] aleksey dot ovcharenko at gmail dot com Description: ------------ Maybe it somehow related to issue #31256? I tried to build php5.2-200611160730 snapshot, but configure failed with same error as bellow. Reproduce code: --------------- Simply try to build lang/php5 port that depends on libxml2 where libxml2 is build with threads-support. Expected result: ---------------- I expect the configure phase to complete successfully. Actual result: -------------- configure:27639: cc -o conftest -O2 -fno-strict-aliasing -pipe -march=athlon-xp -R/usr/local/lib -L/usr/local/lib conftest.c -lm -lxml2 -lz -liconv -lm >&5 /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' configure:27642: $? = 1 configure: program exited with status 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39528&edit=1