> >    When I compile with MP_DEBUG=1 set the test reports this:
> >
> > 92021:/local/GML/install/apache2/bin/httpd: rld: Fatal Error:
> >  attempted access to unresolvable symbol in
> >    /local/GML/......../ServerUtil.so: Perl_Tstack_sp_ptr
> 
> Please take a look at:
> http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_
>
> Is that the cause of the problem?

   No - it isn't.  I know that because the good(?) news is that I've
found out what the problem is.

   The symbol is in mod_perl.so, but is HIDDEN.  This seems to be
because it has been obtained from a static archive (libperl.a).  [NOTE: 
This last statement could be completely wrong - I'm basing this on a
quick perusal of man pages, not knowledge]

   The solution (*very* basic at present) is to tell the loader to
export symbols from libperl.a which it would otherwise hide.  To do this
I fished out the loinker command which produced mod_perl.so and added a
"-exports" option immediatley before "-lperl"  (this option only affects
the next load).

   Hardly a usable solution, but I'll see what I can do as far as
automation goes...

   The server now starts for tests.  It seems to have failed a few, but
I haven't had a look at that yet.

Reply via email to