At 10:38 AM 4/29/2004, olivier blanc wrote: > >While trying to load compiled DSO modperl in Apache, I got the following error
>Syntax error on line 223 of /opt/hpws/apache2/conf/httpd.conf: >Cannot load /opt/hpws/apache2/modules/mod_perl.so into server: Error 0 Hmmm, while I don't have your answer, I have a hint. Take a look back at rev 1.57 of http://cvs.apache.org/viewcvs.cgi/apr/dso/unix/dso.c http://cvs.apache.org/viewcvs.cgi/apr/dso/unix/dso.c?r1=1.56&r2=1.57 and back that bit out. Passing BIND_VERBOSE to shl_load() will spew ugly junk into your error log (you might even test w/ httpd -X -t which does a pretty trivial attempt to just get the module to load.) One fix for 32 bit builds that might need to be backed out to build successfully for 64 bit builds is rev 1.490 of; http://cvs.apache.org/viewcvs.cgi/apr/configure.in http://cvs.apache.org/viewcvs.cgi/apr/configure.in?r1=1.489&r2=1.490 That patch addressed the fact that -ldl support in the hpux-11 family has been incremental and spotty. If you move a 32 bit build from one hpux-11 box to another, it now just works. But revert that patch as I suggest, and you discover the boxes vary quite a bit. If the apr project expanded on that 1.490 fix, it would be best to build -ldld flavor dso on a 32 bit build, -ldl (hpux-11i only) for 64 bit builds, if reverting this patch helps you get modules loading. Good luck, Bill Bill -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html