php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11273 libphp4.so: No such file or directory
Submitted: 2001-06-04 20:37 UTC Modified: 2001-06-26 20:38 UTC
From: rkenny at mke dot catalystwms dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: RedHat Linux 6.1 (2.2.19 Kernel)
Private report: No CVE-ID: None
 [2001-06-04 20:37 UTC] rkenny at mke dot catalystwms dot com
Configured PHP with:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-xml --with-ming --with-config-file-path=/etc --target=i586

Which worked OK.  "make" worked OK too, but when doing a "make install" I got the following output:

...
Making install in regex
make[1]: Entering directory `/usr/src/php-4.0.5/regex'
make[2]: Entering directory `/usr/src/php-4.0.5/regex'
make[2]: Nothing to be done for `install-p'.
make[2]: Leaving directory `/usr/src/php-4.0.5/regex'
make[1]: Leaving directory `/usr/src/php-4.0.5/regex'
Making install in .
make[1]: Entering directory `/usr/src/php-4.0.5'
/usr/sbin/apxs -i -a -n php4 libs/libphp4.so
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=65536
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.5'
make: *** [install-recursive] Error 1

The "libs" folder contains only two files:

total 6920
-rw-r--r--   1 root     root      7068674 Jun  4 12:36 libphp4.a
-rw-rw-r--   1 root     root          792 Jun  4 12:36 libphp4.la

The last few lines of feedback I received when doing the "make" step were:

...
make[2]: Leaving directory `/usr/src/php-4.0.5/regex'
make[1]: Leaving directory `/usr/src/php-4.0.5/regex'
Making all in .
make[1]: Entering directory `/usr/src/php-4.0.5'
/bin/sh /usr/src/php-4.0.5/libtool --silent --mode=compile gcc  -I. -I/usr/src/php-4.0.5/ -I/usr/src/php-4.0.5/main -I/usr/src/php-4.0.5 -I/usr/include/apache -I/c
/bin/sh /usr/src/php-4.0.5/libtool --silent --mode=link gcc  -I. -I/usr/src/php-4.0.5/ -I/usr/src/php-4.0.5/main -I/usr/src/php-4.0.5 -I/usr/include/apache -I/usrv
make[1]: Leaving directory `/usr/src/php-4.0.5'
Making all in pear
make[1]: Entering directory `/usr/src/php-4.0.5/pear'
make[1]: Leaving directory `/usr/src/php-4.0.5/pear'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 00:21 UTC] sniper@php.net
It's either your Apache install that is not correct or 
wrong apxs is found. In anyway, this is not any bug in PHP.

Also, why do you use --target=i586 there? No need for that,
it's automaticly detected anyway.

My advice is, that you should get fresh sources for both
Apache (1.3.20) and PHP and compile both again.

--Jani

 [2001-06-26 20:38 UTC] rkenny at mke dot catalystwms dot com
The new 4.0.6 fixed the compile issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC