Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags

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

From: Stas Bekman
Subject: Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags
Date: 00:12 on 22 Jan 2005
peter pilsl wrote:
> 
> I use mod_perl for a very long time already. Now I installed 
> apache2.0.52 and took the chance to install a new mod_perl as well.
> 
> First I tried the new 2.0RC3, then I tried 1.99.17, then 1.99.16 und 
> finally 1.99.14 and all failed with the very same problem. Apache could 
> not start up due to the following error:
> 
> Cannot load /usr/local/apache2/modules/mod_perl.so into server: 
> /usr/local/apache2/modules/mod_perl.so: undefined symbol: Perl_sv_2pv_flags

that normally means that you have libperl.so in /usr/lib and it's not the
one used by the perl you've built mod_perl with. Please post the output of

   ldd /usr/local/apache2/modules/mod_perl.so

and if you have libperl.so in /usr/local/lib and /usr/lib. if you have 
both, that's your problem. e.g. see:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_

        -- 
        __________________________________________________________________
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)

Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags
Stas Bekman 00:12 on 22 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52