undefined symbol in perl 5.12.0
Jeremiah Foster
jeremiah at jeremiahfoster.com
Sat May 1 10:54:00 UTC 2010
On May 1, 2010, at 8:40, Niko Tyni wrote:
> 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.
Thanks, I'll follow this recommendation. I am using a version of perl pulled from the git repos on alioth just to test and get the latest and greatest.
Jeremiah
More information about the Perl-maintainers
mailing list