On Mon, 25 Jun 2001, Geoffrey Young wrote:
> ok, I did lots of playing around and have come full circle. my problem
> seems to be that
> DynaLoader::bootstrap (as called by Apache::Util/mod_perl.pm) is looking for
> libUtil.so (and variants) instead of resolving the symbols to libhttpd.so.
> which was why I ended up making all the calls myself in the first place.
oh right, because the mod_perl xs_init() is never called when you just
link against libhttpd.so. you could probably just lookup xs_init in
libhttpd.so and call that, rather than lookup bootstrap for every
module. also keep in mind, the arguments to bootstrap and xs_init are
different depending on build flavor, e.g. vanilla, ithreads, etc.
other option would be for you to require that mod_perl was built with
Makefile.PL DYNAMIC=1, which will build extensions as .so's with their own
bootstrap, rather than link everything static in httpd. this is currently
the default behavior for 2.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]