You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Campbell <da...@cpfc.org> on 2005/03/07 13:00:24 UTC

[users@httpd] Mod_apreq on Solaris and httpd-2.0.53

Apologies if this should be on the libabpreq list or even the packagers 
list.

I am creating some relocatable Solaris packages for httpd-2.0.53 
including mod_apreq.  I can build mod_apreq using the apxs method to 
build a dso however the shared object is build with dynamic links to 
some APR libs :

bash-2.03# ldd mod_apreq.so
         libapreq2.so.2 =>        /lib//libapreq2.so.2
         libapr-0.so.0 =>         (file not found)
         libsendfile.so.1 =>      /lib//libsendfile.so.1
         librt.so.1 =>    /lib//librt.so.1
         libm.so.1 =>     /lib//libm.so.1
         libsocket.so.1 =>        /lib//libsocket.so.1
         libnsl.so.1 =>   /lib//libnsl.so.1
         libresolv.so.2 =>        /lib//libresolv.so.2
         libpthread.so.1 =>       /lib//libpthread.so.1
         libdl.so.1 =>    /lib//libdl.so.1
         libaprutil-0.so.0 =>     (file not found)
         libdb-4.2.so =>  /lib//libdb-4.2.so
         libexpat.so.0 =>         (file not found)
         libc.so.1 =>     /lib//libc.so.1
         libapr-0.so.0 =>         (file not found)
         libaprutil-0.so.0 =>     (file not found)
         libexpat.so.0 =>         (file not found)
         libaio.so.1 =>   /usr/lib/libaio.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2
         libthread.so.1 =>        /usr/lib/libthread.so.1
         /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

In order to get round this I am attempting to build mod_apreq statically 
- but no matter what combination of gcc amd make/gmake I use.

gmake[2]: Leaving directory 
`/home/davidcam/cvs/GUsys/PKG/SOL8/apache2/httpd-2.0.53/support'
gmake[1]: Leaving directory 
`/home/davidcam/cvs/GUsys/PKG/SOL8/apache2/httpd-2.0.53/support'
gmake[1]: Entering directory 
`/home/davidcam/cvs/GUsys/PKG/SOL8/apache2/httpd-2.0.53'
gmake[1]: *** No rule to make target `modules/filters/mod_include.la', 
needed by `httpd'.  Stop.

My configure looks like:

bash-2.03$  ./configure 
--with-module=filters:../libapreq2-2.04-dev/src/apreq.c --enable-so 
--prefix=/home/davidcam/cvs/GUsys/PKG/SOL8/apache2/MYAPACHE2 
--with-mpm=prefork --enable-ssl --enable-mods-shared='rewrite deflate 
expires info speling headers unique-id proxy'

Anyone got any thoughts?



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