develooper Front page | perl.perl5.porters | Postings from October 2005

relocation error: undefined symbol: Perl_Gthr_key_ptr or Perl_Tstack_sp_ptr

Thread Previous | Thread Next
From:
Bowen Dwelle
Date:
October 13, 2005 16:05
Subject:
relocation error: undefined symbol: Perl_Gthr_key_ptr or Perl_Tstack_sp_ptr
Message ID:
434E95F8.3070202@gmail.com
Hi there,

I've been running a package called "Siesta" for more than year
now. Sometime after a recent upgrade to Debian 3.1, I started getting
this error when part of that package is invoked from procmail. When I
run this script ("tequila") from the shell it works fine, but under
procmail it dies.

 From what I read on the 'net, it seems like there might be some sort
of version mismatch, or some perl library that needs to be recompiled
due to the OS upgrade. I thought it might have to do with Storable.pm,
so I recompiled that and installed it locally, but still get this error:

procmail: Executing
"/home/adm_lists/bin/tequila,-f,/home/adm_lists/siesta/siesta.conf,post,advisory 

"
/usr/local/bin/perl: relocation error:
/home/bdwelle/lib/perl/i386-linux/auto/Storable/Storable.so: undefined
symbol: Perl_Tstack_sp_ptr
procmail: [7550] Wed Oct 12 11:20:21 2005
procmail: Non-zero exitcode (127) from "/home/adm_lists/bin/tequila"

if I switch from using Storable.pm to Clone.pm

procmail: Executing
"/home/adm_lists/bin/tequila,-f,/home/adm_lists/siesta/siesta.conf,post,test"
/usr/local/bin/perl: relocation error:
/home/bdwelle/lib/perl/i386-linux-thread-multi/auto/Clone/Clone.so
: undefined symbol: Perl_Gthr_key_ptr
procmail: [7550] Wed Oct 12 11:20:21 2005
procmail: Non-zero exitcode (127) from "/home/adm_lists/bin/tequila"

 From what I can tell, there is only one version of perl on this
machine, and the PERLLIB variables are the same in the shell as
in procmail.

I can see that the perl packages are all the same version:

from dpkg -l | grep perl:
> ii  perl           5.8.4-8
> ii  perl-base      5.8.4-8
> ii  perl-doc       5.8.4-8
> ii  perl-modules   5.8.4-8
> ii  libperl5.8     5.8.4-8

I'm getting desperate, and I'm hoping that someone might be able to shed
some light on the situation...

Any clues?

-- Bowen


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About