could this be a version of freebsd with broken threads support? i've
> heard many cases of that. chances are if you rebuild perl without
> -Dusethreads and apache with the prefork mpm, this problem won't be
there.
so the problem that I see on linux is unrelated?
this tested with prefork Apache cvs and perl built as:
./Configure -des -Dprefix=/home/stas/perl/5.6.1-ithread \
-Dusethreads -Doptimize='-g' -Duseshrplib -Dusedevel
Stas Bekman wrote:
> Paul G. Weiss wrote:
>
>> Sorry if this has been covered - I searched to no avail.
>>
>> I'm getting the following error when trying to start
>> an Apache 2.0.36 with ModPerl::Registry:
>>
>> /usr/libexec/ld-elf.so.1:
>> /usr/lib/perl5/site_perl/5.6.1/i386-freebsd-thread-multi/auto/Apache/Request
>>
>> Rec/RequestRec.so: Undefined symbol "Perl_Tstack_sp_ptr"
>>
>> All relevant build info is below. Has anyone seen and conquered this?
>
>
> Confirmed, I've a similar problem on linux with 5.6.1
>
> /home/stas/httpd/prefork/bin/httpd: relocation error:
>
>/home/stas/apache.org/mp-5.6.1-prefork/ModPerl-Registry/t/../../blib/arch/Apache2/auto/Apache/RequestIO/RequestIO.so:
>
> undefined symbol: Perl_sv_2pv
>
> it happens when I run the test suite in:
>
> ModPerl-Registry:
>
> and I've traced it down to:
> print exists $ENV{QUERY_STRING} && $ENV{QUERY_STRING};
>
> Though I don't understand why there is relocation error, the libperl.so
> lib includes the symbol:
> nm
> /home/stas/perl/5.6.1-ithread/lib/5.6.1/i686-linux-thread-multi/CORE/libperl.so
> | grep Perl_sv_2pv
> 0009ae10 T Perl_sv_2pv
>
> and mod_perl is linked against it:
> ldd src/modules/perl/mod_perl.so
> libperl.so =>
> /home/stas/perl/5.6.1-ithread/lib/5.6.1/i686-linux-thread-multi/CORE/libperl.so
> (0x40023000)
>
>
> __________________________________________________________________
> Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org http://ticketmaster.com
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com