Link to home
Start Free TrialLog in
Avatar of flumpydog
flumpydog

asked on

PHP5 Install Problems - libphp5.so not created on AMD64

I am having no luck in trying to install Apache 2.0.52 + MySQL 4.0.21 + PHP 5.0.2 on an AMD64 with FC2 64-bit? I have no problems installing Apache + MySQL, it is PHP5 that is causing me grief.

I have successfully installed all the above on a PIII box that has all the same software (not 64 bit) without any problems.

When I run configure and make there is no problems. When I run 'make install' , this is when I always get an error.

I have also tried the latest snapshots but this did not resolve the problem.

The files libphp5.a and libphp5.lai are created, but it is not creating the file libphp5.so anywhere on the system. I am running just a simple configure command to try and troubleshoot this with no luck:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs

Error Message:
[root@arrow php-5.0.2]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /home/flumpy/temp/php-5.0.2/libs'
Warning! dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: cannot access `/usr/local/apache2/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

Thanks in advance for any help!

Chuck
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of flumpydog
flumpydog

ASKER

Thanks, that resolved part of the problem, with a new problem now related to this whole libphp5.so
https://www.experts-exchange.com/questions/21169396/PHP5-configure-options-ignored.html