You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by blue baby <bl...@hotmail.com> on 2005/07/29 09:02:38 UTC

[users@httpd] libphp5.so failure installing apache 2.0.54 and php 5.0.4

I'm not sure if this is a php question or an apache question, but it seems 
that i'm using the apxs toolkit, so here goes.  my apologies if this is in 
the wrong area.

i'm installing from source apache 2.0.54 and php 5.0.4. php is being 
installed as a module. i am using suse linux 9.3. i've successfully 
installed apache with so enabled (--enable-so). now i'mhaving problems 
getting PHP to configure, make, and make install correctly. durin the 
configure process i kept getting 'xml2-config' not found, even though 
libxml2 was installed. i installed libxml2-devel and this seemed to solf 
this problem. i configured php as such: /configure 
--with-apxs2=/patch/to/apache2/apxs --with-mysql=/path/to/mysql/ this 
configures, but i get warnings halfway through stating "Warning: 
inter-library dependencies are not known to be supported ... libtool could 
not satisfy all declared inter-library dep. of module libphp5. using a 
static module instead"

ok, so, i get that warning, but it makes. then i run make install and get 
the following:

===================
[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
===========================

so, i cannot get it to install correctly as you can see, and i'm at a loss. 
it refuses to create the libphp5.so module. i've followed the directions 
from both php and apache websites to the letter. no luck.  any thoughts? 
anyone whose had this problem and gotten past it?

thx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org