php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6524 Extra library argument stops make
Submitted: 2000-09-04 05:26 UTC Modified: 2000-09-21 10:42 UTC
From: stephen at planet-three dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: SuSE Linux 6.4
Private report: No CVE-ID: None
 [2000-09-04 05:26 UTC] stephen at planet-three dot co dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-07 19:50 UTC] sniper@php.net
Please verify whether this is still happening with latest CVS.

--Jani
 [2000-09-21 10:42 UTC] sniper@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 29 03:00:01 2026 UTC