httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Wang <aw...@ptc.com>
Subject Apache 2.2.9 default bindist/apr library problem
Date Wed, 02 Jul 2008 22:39:15 GMT
Hi all,
We noticed that with Apache 2.2.9 when the bundled APR is used, the 
bindist installation ends up having the following structure in bindist/lib:
./pkgconfig
./pkgconfig/apr-1.pc
./pkgconfig/apr-util-1.pc
./libapr-1.so.0.3.0
./libapr-1.so.0
./libapr-1.so
./libapr-1.la
./libapr-1.a
./apr.exp
./apr-util-1
./apr-util-1/apr_ldap-1.so
./apr-util-1/apr_ldap.so
./apr-util-1/apr_ldap.la
./apr-util-1/apr_ldap.a
./libexpat.so.0.1.0
./libexpat.so.0
./libexpat.so
./libexpat.la
./libexpat.a
./libaprutil-1.so.0.3.0
./libaprutil-1.so.0
./libaprutil-1.so
./libaprutil-1.la
./libaprutil-1.a
./aprutil.exp

There's the addition of apr-util-1/apr_ldap* files.

The default envvars script is still built with only 
/usr/local/apache2/lib in the LD_LIBRARY_PATH and apr-util/Makefile defines:
LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) 
$(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release 
$(APRUTIL_MAJOR_VERSION) -module -rpath $(APU_DSO_LIBDIR)
APU_DSO_LIBDIR = ${libdir}/apr-util-1

so the libraries are pathed with ${libdir}/apr-util-1 directory in their 
path.

As a result, the bindist installed Apache 2.2.9 isn't able to find 
apr_ldap*.so.

Simple enough to workaround in envvars, but is the intention to continue 
to put libraries in subdirectories under apache/lib or was this an 
oversite?  Either way, envvars needs to be updated to include any new 
libraries for a bindist situation correct?

Andy


Mime
View raw message