Hi,

Am 05.09.2005 um 16:02 schrieb Joe Schaefer:

Boris Zentner <[EMAIL PROTECTED]> writes:


Hi,

Am 03.09.2005 um 23:40 schrieb Philip M. Gollucci:


[...]


Any chance you can recompile and post one with debugging enabled?
perl, mp2, and apreq?



Yghh, ok but it takes some time.


Don't bother;  dyld is doing the right thing by failing
to load a module with unresolvable symbols.  Other dynaloaders
are sometimes too lazy to care about unresolvable symbols
until they're actually needed.

Consider testing for APR::Request if it bothers you to
test for APR::Request::CGI.  Or just drop the test entirely.


I dropped the test already. I can not test for APR::Request, the application use Apache2::Request and I test the application. So Apache2::Request is loaded implicit. The test is just a syntax check. Not much more than perl -c script.pl.

Maybe there is a way to delay the loading of the unresolved symbol until someone call the function. On linux this is called weak symbols as far as I recall. That would pass my test and looks much better than a segfault.


--
Boris


Reply via email to