ld problems when compiling 4.0.6
| From: | Daniel Adams | Date: | Fri, 10 Aug 2001 18:15:09 +0000 |
| Subject: | ld problems when compiling 4.0.6 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62196@lists.php.net to get a copy of this message | ||
i can configure php fine but when i try to run make i get this:
make[1]: Entering directory `/usr/local/src/php-4.0.6'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.0.6/ -I/usr/local/src/php-4.0.6/main
-I/usr/local/src/php-4.0.6 -I/usr/local/include
-I/usr/local/src/php-4.0.6/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.6/TSRM -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
/usr/local/src/php-4.0.6/libs -avoid-version stub.lo Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.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 -lcrypt -lresolv -lm -ldl -lnsl -lresolv
main/.libs/libmain.al: object main/.libs/libmain.al(main.lo) in archive is
not object
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6'
make: *** [all-recursive] Error 1
Anyone know how to fix this? I had an error about stub.lo previously but
simply deleted the file per some advice on a mailing list archive. I hope
this was a good idea. Anyway, can someone help me with this? I'm running
redhat 7.1
- Dan
--