[PHP-DEV] PHP 4.0 Bug #6524 Updated: Extra library argument stops make From: Bug Database (php-dev <email protected>)
Date: 09/21/00

ID: 6524
Updated by: sniper
Reported By: stephen <email protected>
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:

Fixed in CVS.

Previous Comments:
---------------------------------------------------------------------------

[2000-09-07 19:50:57] sniper <email protected>
Please verify whether this is still happening with latest CVS.

--Jani

---------------------------------------------------------------------------

[2000-09-04 05:26:27] stephen <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>