From: alan at pair dot com Operating system: FreeBSD 4.8-STABLE PHP version: 4.3.4 PHP Bug Type: Compile Failure Bug description: Libtool + threads = library error
Description: ------------ By default, libtool uses -pthread, but this causes a compile-time error with FreeBSD 4.8-STABLE: libtool: Cannot find library `' Reproduce code: --------------- We configured as follows: ./configure --with-apache=/usr/pair/sw/apache_1.3.29 --with-config-file-path=/usr/local/etc --enable-magic-quotes --enable-bcmath --without-cdb --with-zlib-dir= /usr/local --with-gd --with-ttf --without-msql --with-mysql=/usr/local --with-iodbc --with-pdflib --enable-inline-optimization --disable-memory-limit --with-db --without-gdbm --with-ndbm --without-db2 --without-dbm --with-gettext --without-readline --with-recode --without-openssl --with-mcrypt --without-db3 --enable-dba --with-curl --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --enable-calendar --with-mhash --enable-xslt --with-xslt-sablot --with-expat-dir=/usr/local --enable-gd-lzw-gif make However, I think it can be reproduced with just: ./configure make Expected result: ---------------- I expect it to compile. Actual result: -------------- It doesn't compile: it spits out a library error, instead. A Patch: diff -C 3 ltmain.sh ../php-4.3.3 *** ltmain.sh Mon Feb 10 12:12:17 2003 --- ../php-4.3.3/ltmain.sh Wed Oct 29 07:56:14 2003 *************** *** 1511,1516 **** --- 1511,1519 ---- fi continue ;; + -pthread) # KJM 10/29/03 + continue + ;; %DEPLIBS%) alldeplibs=yes continue -- Edit bug report at http://bugs.php.net/?id=26141&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26141&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26141&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26141&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26141&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26141&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26141&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26141&r=support Expected behavior: http://bugs.php.net/fix.php?id=26141&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26141&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26141&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26141&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26141&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26141&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26141&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26141&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26141&r=float