This is not part of the Apache 2.0 documentation. This is not a statement of Apache Software Foundation or Apache HTTP Server Project or even anybody really important.
-Wl,-bexpall.
Save the output from these commands:
which libtool libtool --version ./buildconf | tee buildconf.out(Run buildconf from the httpd-2.0 directory.)
Also, sanity-check that you are using the libtool you thought you were.
dump -Tv is our friend or analyzing why a symbol isn't
resolved.
The following shows a few different types of symbols described in a dump of httpd:
(under construction)The following shows a few different types of symbols described in a dump of an Apache DSO module:
(under construction)The following shows a few different types of symbols described in a dump of libaprutil.a:
(under construction)The following shows a few different types of symbols described in a dump of libapr.a:
(under construction)Notice how the DSO module expects to resolve the function apr_file_open() from libapr.a(libapr.so.0) and the function ap_hook_error_log() from the main executable ("."). Notice how libaprutil expects to resolve the function apr_file_open() from libapr.a(libapr.so.0).
If you don't see the same exact symbol resolution in your build, it is doomed to fail and you should provide the output files created by the commands below (under Documentation).
which libtool > /tmp/libtool.out libtool --version >> /tmp/libtool.out make extraclean (okay if this fails) ./buildconf | tee /tmp/buildconf.out LTFLAGS=' ' ./configure (your options) | tee /tmp/configure.out make | tee /tmp/make.out rm -f (your prefix)/lib/* (your prefix)/modules/* make install | tee /tmp/make_install.out dump -Tv (your prefix)/bin/httpd > /tmp/httpd.dump dump -Tv (your prefix)/lib/libapr.a > /tmp/libapr.dump dump -Tv (your prefix)/lib/libaprutil.a > /tmp/libaprutil.aAlso, create dump output for any DSO modules you're having problems with.
Also (as if that weren't enough), provide the versions of httpd.exp, apr.exp, and aprutil.exp which were installed in (your prefix)/lib and (your prefix)/modules.