DSO loading (dlopen) appearse to be broken somehow
Alexander Kabaev
kabaev at gmail.com
Wed Apr 4 13:09:51 UTC 2007
On Wed, 4 Apr 2007 16:57:35 +0400
Andrey Chernov <ache at freebsd.org> wrote:
> On Wed, Apr 04, 2007 at 08:23:46AM -0400, Alexander Kabaev wrote:
> > > Syntax error on line 213 of /usr/local/etc/apache/httpd.conf:
> > > Cannot load /usr/local/libexec/apache/mod_env.so into server:
> > > /usr/local/libexec
> > > /apache/mod_env.so: Undefined symbol "ap_palloc"
> > >
> > > Perhaps it is Apache configuration problem since old-compiled
> > > apache (Dec 9) runs normally. Perhaps Apache config find some new
> > > defines which not works as expected.
> > >
> > > I am not expert in dlopen() at all. Please look someone who knows.
> > >
> > You do not have to be an expert in dlopen to find out the list of
> > loaded modules at the time dlopen called, what parameters dlopen is
> > called with and where the symbol allegedly not found is really
> > defined.
>
> 1) The symbols in question are all _defined_ inside main httpd
> program.
objdump -T output goes here.
2) dlopen() just call single first apache module and fails.
dlopen parameters dump goes here.
2a) dlerror() output goes here
objdump -T of module being loaded goes here too.
> 3) Apache port not changed for a long time and works at the moment of
> last commit 2006/12/09
Symbol lookup and module loading has not changed in rtld for even
longer time.
You honestly expect someone to do initial trivial investigation for you?
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070404/9d5b8a8f/signature.pgp
More information about the freebsd-ports
mailing list