Archived Forum Post

Index of archived forum posts

Question:

Error /usr/local/share/perl/5.18.2/libchilkat.so: undefined symbol: PL_stack_sp

Sep 01 '14 at 11:35

Installation "worked" like a charm, but the first use of the chilkat module ended in a crash

$>perl -Mchilkat -e 'print $chilkat::VERSION'

Can't load '/usr/local/share/perl/5.18.2/libchilkat.so' for module chilkat: /usr/local/share/perl/5.18.2/libchilkat.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.18/DynaLoader.pm line 184. at /usr/local/share/perl/5.18.2/chilkat.pm line 11.

installed chilkat-9.5.0-perl-5.18-x86_64-linux-mt

in Ubunut 14.04 64 bit:

$>perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi (with 41 registered patches, see perl -V for more detail)


Answer

This problem is fixed now. The new builds for Perl are now available at http://www.chilkatsoft.com/perl.asp#linuxDownloads


Answer

For these sorts of errors, you should always begin by Googling the error message. If anything, it will give you a general sense of what might be causing the error.

In this case, I Googled "undefined symbol PL_stack_sp"

The 1st search result is this: http://stackoverflow.com/questions/1247244/why-do-i-get-undefined-reference-errors-when-i-compile-my-xs-with-perl-5-10

The resolution for that particular problem was this:

"I was using 32bit Perl 5.10.0 on a 64bit machine. Problem solved! Thanks to everyone who responded."

Check to see if this solution also works in your case...


Answer

Thx for your answer, but as far as i know i am using 64bit. thats why i quoted the output of perl-v

(v5.18.2) built for x86_64-linux-gnu-thread-multi

(BTW I had googled this "hint")

Just to be sure:

$>file `which perl`

/usr/bin/perl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=f283f8793de9ae57d6ce03af1c1667476531653c, stripped


Answer

Thanks! I'm investigating...


Answer

Exactly the same issue here. Using 9.3.2 the problem goes away...

Would obviously prefer to use the latest chilkat, so hopefully a fix would be available soon...


Answer

Chilkat is aware of the problem and will be working to fix it. This is a very difficult problem, and it's the kind of problem that is almost impossible to provide a time estimate..


Answer

Can't load '/usr/local/share/perl/5.18.2/libchilkat.so' for module chilkat: /usr/local/share/perl/5.18.2/libchilkat.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.18/DynaLoader.pm line 184. at /usr/local/share/perl/5.18.2/chilkat.pm line 11.

root@dnnrpd01:/srv/nntpd/bin# perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi (with 41 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

chilkat-9.5.0-perl-5.20-x86_64-linux-mt.tar.gz

It's still not fixed.


Answer

Can't load '/usr/local/share/perl/5.18.2/libchilkat.so' for module chilkat: /usr/local/share/perl/5.18.2/libchilkat.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.18/DynaLoader.pm line 184. at /usr/local/share/perl/5.18.2/chilkat.pm line 11.

root@dnnrpd01:/srv/nntpd/bin# perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi (with 41 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

chilkat-9.5.0-perl-5.20-x86_64-linux-mt.tar.gz

It's still not fixed. Please get this fixed so that I can continue with my development, or alternatively I will be looking at alternatives... My work has been standing still now for more than a month....


Answer

Just a short feedback: Installing and first tests work now.