ID: 11273
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
Operating system: RedHat Linux 6.1 (2.2.19 Kernel)
PHP Version: 4.0.5
Description: libphp4.so: No such file or directory

The new 4.0.6 fixed the compile issue.

Previous Comments:
---------------------------------------------------------------------------

[2001-06-05 00:21:50] [EMAIL PROTECTED]
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-04 20:37:34] [EMAIL PROTECTED]
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'


---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=11273


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to