Solved

PHP5 Install Problems - libphp5.so not created on AMD64

Posted on 2004-10-13
2
827 Views
Last Modified: 2013-12-13
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
Comment
Question by:flumpydog
2 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 400 total points
ID: 12305864
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
 

Author Comment

by:flumpydog
ID: 12316721
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now