Perl_Tstack_sp_ptr

In some situations, you will see such an error : perl: symbol lookup error: XXX.so: undefined symbol: Perl_Tstack_sp_ptr

The reason : you probably updated your Perl distribution and are now running Perl 5.10 against Perl 5.8 libraries. Perl 5.10 and Perl 5.8 are not binary compatible, sadly. Any perl packages that have binaries in them (like Digest::MD5 or Compress::Zlib) cannot be re-used from a perl 5.8 machine to a perl 5.10 machine.

So if you have all your packages coming from the same source, everything should work. If you mix things (like having compiled some libs yourself with “perl Makefile.PL”), you will most likely encounter the error above . The cure is to recompile your lib with the new Perl version:

/your/new/perl Makefile.PL
make
make install

You can’t even imagine how much I like apt-get.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Switch to our mobile site