Re: Missing symbol: mod_perl2-RC3

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

From: Stas Bekman
Subject: Re: Missing symbol: mod_perl2-RC3
Date: 16:40 on 10 Jan 2005
Gordon Lack wrote:
>>>   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...

Yes, it means that irix is a special case and needs to add this option. So 
you have most of it solved. Now please take a look at 
perl_config_lddlflags in lib/Apache/Build.pm, it should probably go there 
(make a special case for IRIX). A patch would be gladly accepted.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(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