Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)

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

From: Geoffrey Young
Subject: Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)
Date: 20:45 on 21 Jan 2005

Geoffrey Young wrote:
>>I nuked everything I had that smelled like mod_perl and mod_perl fails
>>at the make test:
> 
> 
>>/usr/src/mod_perl-1.99_16/t/conf/httpd.conf:
>>Cannot load /usr/src/mod_perl-1.99_16/src/modules/perl/mod_perl.so into
>>server: /usr/src/mod_perl-1.99_16/src/modules/perl/mod_perl.so:
>>undefined symbol: Perl_sv_2pv_flags
> 
> 
> that's the wrong mod_perl.so - your httpd.conf should be picking it up from
> your mod_perl build directory.

gak, I don't know what I was thinking saying that.  it's obviously time for
the weekend :)

anyway, I tried with perl-5.8.5 and it works fine for me.  the only thing I
can suggest at this point is to look at lib/Apache/BuildConfig.pm and see
what options it is picking up.  Perl_sv_2pv_flags is defined in embed.h,
which on my 5.8.5 is in

  /perl/perl-5.8.5/lib/5.8.5/i686-linux-thread-multi/CORE/embed.h

so I grep for that base directory and find .../CORE in MODPERL_CCOPTS,
MODPERL_LDOPTS, and MODPERL_LIBPERL.

so, see what you find.  Tom might be right, you might be picking up remnants
from an old perl install or something.

HTH

--Geoff

(message missing)

Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)
Geoffrey Young 20:45 on 21 Jan 2005

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