Problem with install -->php-4.0.3pl1 ld: cannot open -l-l: No such file or directory
| From: | Sachin Kundra | Date: | Fri, 17 Nov 2000 02:19:48 +0000 |
| Subject: | Problem with install -->php-4.0.3pl1 ld: cannot open -l-l: No such file or directory | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-817@lists.php.net to get a copy of this message | ||
Hello,
I am trying to install php-4.0.3pl1 on RedHat Linux 5.2. I am running into
the same problem accross 4 different machines. The configuration runs
smoothly, considering I am configuring with the most minimum of options.
./configure --with-mysql=/usr --with-apxs
But when I try to compile I get the following error:
make[1]: Entering directory `/home/sachin/develop/php-4.0.3pl1'
/bin/sh /home/sachin/develop/php-4.0.3pl1/libtool --silent --mode=link
gcc -I. -I/home/sachin/develop/php-4.0.3pl1/ -I/home/sachin/develop/php-4.0.
3pl1 -I/home/sachin/develop/php-4.0.3pl1/main -I/usr/include/apache -I/home/
sachin/develop/php-4.0.3pl1/Zend -I/home/sachin/develop/php-4.0.3pl1 -I/home
/sachin/develop/php-4.0.3pl1/ext/mysql/libmysql -I/home/sachin/develop/php-4
.0.3pl1/ext/xml/expat/xmltok -I/home/sachin/develop/php-4.0.3pl1/ext/xml/exp
at/xmlparse -I/home/sachin/develop/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g
-O2 -o libphp4.la -rpath
/home/sachin/develop/php-4.0.3pl1/libs -avoid-version stub.lo
Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
ext/gd/libgd.la ext/mysql/libmysql.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la
TSRM/libtsrm.la -lpam -ldl -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv ld:
cannot open -l-l: No such file or directory make[1]: *** [libphp4.la] Error
1 make[1]: Leaving directory `/home/sachin/develop/php-4.0.3pl1' make: ***
[all-recursive] Error 1
I have tried reinstalling ld, just to be safe but that didnt do any good.
Thanks for any light you can shed on the subject.
Stumped,
Sachin Kundra