undefined symbol in perl 5.12.0
Niko Tyni
ntyni at debian.org
Sat May 1 06:40:33 UTC 2010
On Sat, May 01, 2010 at 12:59:42AM +0200, Jeremiah Foster wrote:
> I'm getting this error when I run a perl script that calls libapt-pkg-perl 0.1.24:
>
> /usr/local/bin/perl: symbol lookup error: ./auto/AptPkg/AptPkg.so: undefined symbol: Perl_Istack_sp_ptr
>
> Is this something I have misconfigured or is it a bug?
It looks like you're mixing an XS module built for 5.10.x with Perl 5.12.0.
This doesn't work because the 5.10 and 5.12 series are binary incompatible.
The perlapi-* dependencies are designed to prevent this sort of breakage:
all the XS module packages in sid are currently uninstallable with 5.12.0,
and they have to be rebuilt against 5.12.0 to fix this.
If you use a non-packaged perl, you don't get this protection. I suggest not
including /usr/lib/perl5 and /usr/share/perl5 @INC and installing any modules
you need manually.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list