• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 885
  • Last Modified:

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
0
flumpydog
Asked:
flumpydog
1 Solution
 
hernst42Commented:
have a look at
http://bugs.php.net/bug.php?id=27795
special the comment from (at the end of the list)
[1 Aug 2:09am CEST] my-junkmail at earthlink dot net
0
 
flumpydogAuthor Commented:
Thanks, that resolved part of the problem, with a new problem now related to this whole libphp5.so
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/Q_21169396.html
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now