#21830 [Fbk]: libphp4.so not created
| From: | sniper@php.net | Date: | Thu, 23 Jan 2003 02:43:58 +0000 |
| Subject: | #21830 [Fbk]: libphp4.so not created | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31002@lists.php.net to get a copy of this message | ||
ID: 21830
Updated by: sniper@php.net
Reported By: php.net@fudge.org
Status: Feedback
Bug Type: Compile Failure
Operating System: RedHat 7.3
PHP Version: 4.3.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
That libs/libphp4.bundle is NOT meant for Linux, it's for MacOSX so
using it does not help.
Please try the snapshot.
Previous Comments:
------------------------------------------------------------------------
[2003-01-22 20:39:25] php.net@fudge.org
$ make libphp4.la
[snip]
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
$ cat ext/ctype/ctype.lo
[one blank line]
$ make libs/libphp4.bundle
[snip]
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libs/libphp4.bundle] Error 1
$ rpm -qf /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
glibc-devel-2.2.5-42
Should I be using gcc3 perhaps?
------------------------------------------------------------------------
[2003-01-22 20:23:14] php.net@fudge.org
Ok. I just removed config.cache and did make clean.
Running make again...
I will report results shortly.
------------------------------------------------------------------------
[2003-01-22 20:14:52] sniper@php.net
Please check this report, and the last comment in it:
http://bugs.php.net/bug.php?id=19924
This really isn't any PHP bug but something done wrong.
(rm config.cache / make clean usually helps.)
------------------------------------------------------------------------
[2003-01-22 20:08:09] php.net@fudge.org
I am trying to create the DSO version for Apache 2.0.44
$ ./configure --with-mysql --with-axps2=/web/bin/apxs
Normal output.
$ make all
(does not complete)
$ make libphp4.la
[snip]
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
$ make libs/libphp4.bundle
[snip]...
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libs/libphp4.bundle] Error 1
There is nothing in libs and there is nothing in .libs
I have also tried this with php4-STABLE-200301220430 and I get the same
results.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21830&edit=1