On Wed, Dec 06, 2006 at 02:15:50AM -0800, Philip M. Gollucci wrote:
> CFLAGS="-g3 -fno-strict-aliasing -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" 
> ./configure \
>     --prefix=$S/httpd/2.2.3/prefork \
>     --with-apr=$S/apr/1.2.7/bin/apr-1-config \
>     --with-apr-util=$S/apr-util/1.2.7-5.1.12-beta/bin/apu-1-config \

Hiya, what platform is this, a BSD?  If this APR is not being used it's 
probably an RPATH problem.  What does the httpd link line look like?  
Do:

  $ rm httpd
  $ make httpd LTFLAGS=

this should show you what RPATHs are getting set at link time.

If there is any libtool (.la) library in /usr/local/lib which is being 
picked up at link time (expat looks like a likely candidate), *and* 
/usr/local/lib is not in your linker's standard runtime link path, then 
libtool will (must) add an RPATH for /usr/local/lib to the built httpd.

(There is no general solution to a problem like that, it's just a "don't 
do that" thing, really)

Regards,

joe

Reply via email to