Re: Missing symbol: mod_perl2-RC3

[prev] [thread] [next] [Date index for 2005/01/06]

From: Gordon Lack
Subject: Re: Missing symbol: mod_perl2-RC3
Date: 18:42 on 06 Jan 2005
> >    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.

(message missing)

Missing symbol: mod_perl2-RC3
Lack Mr G M 16:31 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:53 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:42 on 06 Jan 2005

Bug(?) in mod_perl-2 RC3
Gordon Lack 19:16 on 06 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 16:36 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Gordon Lack 18:04 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:40 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:10 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:31 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 21:57 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 22:24 on 10 Jan 2005

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52