PHP 4.0 Bug #6524 Updated: Extra library argument stops make

From: Date: Thu, 07 Sep 2000 23:50:57 +0000
Subject: PHP 4.0 Bug #6524 Updated: Extra library argument stops make
Groups: php.dev 
Request: Send a blank email to php-dev+get-32626@lists.php.net to get a copy of this message
ID: 6524 Updated by: sniper Reported By: stephen@planet-three.co.uk Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Please verify whether this is still happening with latest CVS. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-04 05:26:27] stephen@planet-three.co.uk Configure gives a warning that a basic system test has failed and make fails. It seems as though there is an extra, unnecessary -l argument, between mysqlclient and curl. Here's debug log from configure: CONFIGURE: './configure' '--with-mysql=/usr' '--enable-yp' '--with-imap' '--with-dbm' '--with-pgsql' '--with-sybase-ct=/opt/sybase' '--with-curl=/usr/local' '--with-apxs=/usr/httpd/bin/apxs' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/usr/httpd/include -I$(top_builddir)/Zend -I$(top_srcdir) -I/usr/local/include -I/usr/include/imap -I/usr/include/mysql LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib LIBS: -lpq -lmysqlclient -l -lcurl -lresolv -lm -ldl -lcrypt -lnsl -lresolv DLIBS: -lc-client SAPI: apache PHP_RPATHS: /usr/local/lib /usr/local/pgsql/lib uname -a: Linux stephen 2.2.14 #1 Sat Mar 25 00:45:35 GMT 2000 i586 unknown gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lmysqlclient -l -lcurl -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -l--library=curl collect2: ld returned 1 exit status --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6524

« previous php.dev (#32626) next »