perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2.0] make test fails; mod_perl also does not work
Date Mon, 26 May 2003 08:29:32 GMT
Olaf Bohlen wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> Hi,
> 
> 
>>% nm /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.so | grep Perl_sv_2pv
> 
> 
> here we have the problem:
> 
> (4402) thing:/usr/share/src/mod_perl-1.99_09#  nm /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.so
| grep Perl_sv_2pv
> [3303]  |    606280|    2960|FUNC |GLOB |0    |10     |Perl_sv_2pv_flags
> [2898]  |    606124|      28|FUNC |GLOB |0    |10     |Perl_sv_2pv_nolen
> [3842]  |    609572|      80|FUNC |GLOB |0    |10     |Perl_sv_2pvbyte
> [4322]  |    609548|      24|FUNC |GLOB |0    |10     |Perl_sv_2pvbyte_nolen
> [3565]  |    609676|      80|FUNC |GLOB |0    |10     |Perl_sv_2pvutf8
> [4037]  |    609652|      24|FUNC |GLOB |0    |10     |Perl_sv_2pvutf8_nolen
> 
> no wonder that he cannot find the Smybol Perl_sv_2pv.
> so, what can i do?

can you run:
nm 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Const/Const.so 
| grep Perl_sv_2pv

I don't think Const.so uses this symbol, on my machine (linux-i386) it shows:

% nm blib/arch/Apache2/auto/ModPerl/Const/Const.so | grep Perl_sv_2pv
          U Perl_sv_2pv_flags

In any case, the problem is clear - for some reason you get older libraries 
from previous installs loaded. It shouldn't try to load:
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/auto/ModPerl/Const/Const.so
but blib/arch/Apache2/auto/ModPerl/Const/Const.so

please back up /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2 and 
then nuke /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2. Don't 
delete the tree before you back it up since I want to know why it wasn't 
loading the new local build. If you nuke it without a backup we won't be able 
to fix it.

I suppose this has something to do with LD_PRELOAD_PATH

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message