DSO loading (dlopen) appearse to be broken somehow

Andrey Chernov ache at freebsd.org
Wed Apr 4 12:57:38 UTC 2007

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.
2) dlopen() just call single first apache module and fails.
3) Apache port not changed for a long time and works at the moment of last 
commit 2006/12/09

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070404/b03bd5a4/attachment.pgp

More information about the freebsd-current mailing list