From: red at icuii dot com Operating system: Fedora Core 2 PHP version: 5.0.4 PHP Bug Type: Compile Failure Bug description: libmysqlclient twice?
Description: ------------ Linking fails because -lmysqlclient appears twice in the Makefile's EXTRA_LIBS. I can remove one and it builds and runs fine. Here's my configure command: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd --with-mysql --enable-sockets --with-xsl --with-pic --with-mnogosearch=/usr --with-zlib Then here's the line from the Makefile: EXTRA_LIBS = -lcrypt -lexslt -lcrypt -lmysqlclient -lpng -lz -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lm -lrt -lz -lmysqlclient -lmnogosearch -lmnogocharset -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt -- Edit bug report at http://bugs.php.net/?id=32704&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32704&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32704&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32704&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32704&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32704&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32704&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32704&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32704&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32704&r=support Expected behavior: http://bugs.php.net/fix.php?id=32704&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32704&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32704&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32704&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32704&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32704&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32704&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32704&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32704&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32704&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32704&r=mysqlcfg