php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11853 unknown option -l-l
Submitted: 2001-07-03 05:53 UTC Modified: 2001-08-20 10:29 UTC
From: php at jammni dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Suse Linux 7.0
Private report: No CVE-ID: None
 [2001-07-03 05:53 UTC] php at jammni dot de
make-script  compiled all sub-dirs and changes to php-4.0.6. but nothing could be compiled - output: /usr/bin/ld: cannot find -l-l

this is documented in debug.log too:

LIBS: -l -l -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv

gcc -o conftest -g -O2 -DEAPI_MM -DLINUX2 -DMOD-SSL=206105 -DUSEHSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 conftest.c $LIBS
and the error-message from above

I tried to delete -l -l -l in configure.vars.mk, but it did'nt help.
Perhaps you have an idea.
Thanx

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-03 05:55 UTC] derick@php.net
What is your configure line?

Derick
 [2001-07-04 07:34 UTC] php at jammni dot de
make-script compiled all sub-dirs and changes to php-4.0.6-dir. but nothing could be compiled.
(configure was started with --with-apxs --with-mysql, php4.0.5 compiled with these options)

output: /usr/bin/ld: cannot find -l-l

this is documented in debug.log too:

LIBS: -l -l -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv

gcc -o conftest -g -O2 -DEAPI_MM -DLINUX2 -DMOD-SSL=206105 -DUSEHSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 conftest.c $LIBS
and the error-message from above

I tried to delete -l -l -l in configure.vars.mk, but it did'nt help.
Perhaps you have an idea.

Thanx
 [2001-07-04 07:38 UTC] derick@php.net
Again:
What is your configure line?
Like: ./configure --boo=far ....

Derick
 [2001-07-04 17:04 UTC] php at jammni dot de
look in line 2 of the last comment
--with apxs --with-mysql
php 4.0.5 compiled with these options
 [2001-08-03 23:29 UTC] sniper@php.net
Is this still a problem?
If so, get the latest CVS snapshot from here: http://snaps.php.net/ and unpack it. Then do these steps:

# ./configure --with-apxs=/path/to/apxs 
# make

Does it work?

--Jani

 [2001-08-20 10:29 UTC] sniper@php.net
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS 
snapshot from http://snaps.php.net/

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC