You are not logged in.

#1 2008-03-29 10:41:14

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

cpan gives ReadKey.so: undefined symbol: Perl_Tstack_sp_ptr

After upgrade to perl 5.10 running cpan failed with the error:

ReadKey.so: undefined symbol: Perl_Tstack_sp_ptr

On a hunch I ran cpan -r which man tells me:

-r Recompiles dynamically loaded modules with CPAN::Shell->recompile.

Seems to have fixed the issue.

What did I just do? hmm

Offline

#2 2008-03-29 10:55:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: cpan gives ReadKey.so: undefined symbol: Perl_Tstack_sp_ptr

It looks like one of your modules needed rebuilt against the latest perl version.  I think ReadKey.so is from perl-term-readkey in extra so should have been rebuilt already.  Maybe that was a symptom and not the cause...

Online

#3 2008-03-29 11:07:07

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: cpan gives ReadKey.so: undefined symbol: Perl_Tstack_sp_ptr

It is possible that my perl setup is using a mishmash of perl componentry from arch repos and manual CPAN downloads.

I didn't have perl-term-readkey or perl-term-readline installed.

The ReadKey.so file reports unowned by any package.

[root@gordon ~]# pacman -Qo /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/Term/ReadKey/ReadKey.so
error: No package owns /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/Term/ReadKey/ReadKey.so

Last edited by dale77 (2008-03-29 11:09:20)

Offline

#4 2008-03-29 11:21:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: cpan gives ReadKey.so: undefined symbol: Perl_Tstack_sp_ptr

Hmmm, looks like you have manually installed it from CPAN.  Rebuilding it was the right thing to do then!

Online

Board footer

Powered by FluxBB