libphp5.so not created
| From: | Jeremy William Stephens | Date: | Fri, 20 May 2005 20:40:21 +0000 |
| Subject: | libphp5.so not created | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16142@lists.php.net to get a copy of this message | ||
Im trying to install PHP 5.0.4 with with Apache 2.0.54 on a Tru64 machine.
Apache 2.0.54 config
./configure \
--with-prefix=/usr/local/apache2 \
--enable-so \
--enable-module=so \
--disable-imap \
--with-mpm=prefork \
--enable-rewrite \
--enable-ssl \
--with-ssl=/usr/local
And I've tried just with the basic config for PHP 5.0.4 of:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs
I just want to get the Apache module working before I start adding in other
configure options.
My problem is that I can't get PHP to build the shared module 'libphp5.so'.
If I exclude the --with-apxs2 then I can get php to make and make install fine.
Once I include the --with-apxs2 then the make install fails with:
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
/usr/local/src/php/php-5.0.4/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: /usr/local/apache2/modules/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=262144
.
make: *** [install-sapi] Error 1
Exit 2
Im not sure if this is an issue with perl executing the libtool script or if
there is something else. Im running perl version 5.8.5.
Thanks,
-Jeremy