php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13546 stub.lo: file not recognized:
Submitted: 2001-10-04 14:27 UTC Modified: 2001-10-06 20:33 UTC
From: bcampbell at centrport dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: Redhat 7.1
Private report: No CVE-ID: None
 [2001-10-04 14:27 UTC] bcampbell at centrport dot com
configure succedes with:
./configure --with-apxs=/opt/web/apache/bin/apxs --with-mysql=/usr/src/mysql --enable-magic-quotes

make fails with following error:

Making all in .
make[1]: Entering directory `/usr/src/php-4.0.6'
/bin/sh /usr/src/php4/libtool --silent --mode=link gcc  -I. -I/usr/src/php4/ -I/usr/src/php4/main -I/usr/src/php4 -I/opt/web/apache/include -I/usr/src/php4/Zend -I/usr/src/mysql/include -I/usr/src/php4/ext/xml/expat/xmltok -I/usr/src/php4/ext/xml/expat/xmlparse -I/usr/src/php4/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2   -o libphp4.la -rpath /usr/src/php4/libs -avoid-version -L/usr/src/mysql/lib  -R /usr/src/mysql/lib 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 -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.6'
make: *** [all-recursive] Error 1

I found bug# 12909 that is close but with 4.0.7  Is there anything I can do to get this to work with 4.0.6 or do I have to go through the CSV?  php-3.0.18 comples fin with the same configure parameters.

Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-06 18:38 UTC] bcampbell at centrport dot com
Sorry no issue here. <make clean install> cleared things up.
 [2001-10-06 20:33 UTC] sniper@php.net
not a bug -> bogus.
 [2002-02-13 16:59 UTC] loginx at linkadmin dot org
I'm having exactly the same problem... on php4.1.1
 [2002-10-27 14:38 UTC] kriggs at videotron dot ca
To expand on what bcampbell said, if you get this error, 
and it is possible that you already have installed PHP 
before, you can do a "make clean", and then you should be 
able to safely make, then make install. What I did, just 
to make sure, was I re-"./configure"d before doing the 
make and make install.
 [2002-12-29 09:02 UTC] jayachandrank at hotmail dot com
i could not compile php in my rh7.3 and was wandering around for answers. i followed the instructions in this page and it worked for me.
thank you very much
jayachandran kamaraj
 [2003-08-08 05:35 UTC] devlyn at zonnet dot nl
According to my personal experience, the re"./configure"-ing isn't necessary. the clean option seems to clear up the current installation, but it doesn't seem to affect the compiling configuration.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC