perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2.0] make test fails; mod_perl also does not work
Date Mon, 26 May 2003 08:06:47 GMT
Olaf Bohlen wrote:
> Stas Bekman <> writes:
> Hi,
>>You have built mod_perl with /usr/local/bin/perl but start mod_perl
>>with /usr/bin/perl. Is that the same perl executable (symlinked)?
> It's not symlinked, but it is the same executable:
> -rwxr-xr-x   3 root     other      16384 May 21 21:35 /usr/bin/perl
> -rwxr-xr-x   3 root     other      16384 May 21 21:35 /usr/local/bin/perl

So you probably have a hard link.

>>if not, I'm not sure why the wrong perl was picked, but what happens if you run:
>>/usr/local/bin/perl t/TEST

 > Can't load 
 > for module ModPerl::Const: /usr/bin/perl: fatal: relocation error: 
symbol Perl_sv_2pv: referenced symbol not found at 
/usr/local/lib/perl5/5.8.0/sun4-solaris/ line 229.
 >  at 
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Apache2/Apache/ line 3

it should have been resolved when was loaded.

You can check:

% nm /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/ | grep Perl_sv_2pv

should show this symbol. And should depend on that

% ldd src/modules/perl/

should show the path to above.

If it's all in place and it doesn't work, that means that sun4-solaris may 
needs different linking options that are used. I'd check how mod_perl 1.0 DSO 
is built on the same platform and compare if the linking options differ.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message