login about faq

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)

asked Jul 08 '14 at 11:38

gmavridis's gravatar image

gmavridis
1113


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

link

answered Jul 28 '14 at 21:53

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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...

link

answered Jul 08 '14 at 11:58

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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

link

answered Jul 08 '14 at 12:22

gmavridis's gravatar image

gmavridis
1113

edited Jul 08 '14 at 12:22

Thanks! I'm investigating...

link

answered Jul 08 '14 at 12:52

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Any news here? Will it work if i install some other perl on my machine (e.g. 5.16 or 5.20 with perlbrew) or is it a debian/ubuntu problem?

(Jul 22 '14 at 10:20) gmavridis

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...

link

answered Jul 23 '14 at 17:53

Savage's gravatar image

Savage
1

Where can i download the the version 9.3.2?

(Jul 24 '14 at 03:21) gmavridis

Dunno. I had a older version on one of my other servers that I used. I'm sure Chilkat won't mind sharing a older version with you.

(Jul 24 '14 at 07:54) Savage

Unfortunately, there was never a 9.3.2 version produced for Perl 5.18. I don't recall when Perl 5.18 was originally released, but it was probably after or near when Chilkat v9.3.2 was released.

(Jul 24 '14 at 19:21) chilkat ♦♦

Dunno which version of perl 9.3.2 was for either, but it does work on Perl 5.18

(Jul 25 '14 at 03:47) Savage

Is there perhaps any other old version i can try that was released with perl 5.18?

(Jul 25 '14 at 05:25) gmavridis

@Savage, can you perhaps tell us the filename of the archive you used?

(Jul 25 '14 at 05:27) gmavridis

I found this... http://mirror.nienbo.com/chilkat/ :)

That should sort you out for now, at least until the bug is fixed in the latest versions.

(Jul 25 '14 at 13:46) Savage
showing 5 of 7 show all

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..

link

answered Jul 24 '14 at 19:23

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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.

link

answered Sep 01 '14 at 06:14

savage's gravatar image

savage
1

I used the chilkat module for perl 5.18 chilkat-9.5.0-perl-5.18-x86_64-linux-mt.tar.gz

I guess your error might stem from trying out the Version for Perl 5.20

(Sep 01 '14 at 11:35) gmavridis

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....

link

answered Sep 01 '14 at 06:15

savage's gravatar image

savage
1

I used the chilkat module for perl 5.18 chilkat-9.5.0-perl-5.18-x86_64-linux-mt.tar.gz

I guess your error might stem from trying out the Version for Perl 5.20

(Sep 01 '14 at 11:35) gmavridis

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

link

answered Sep 01 '14 at 11:33

gmavridis's gravatar image

gmavridis
1113

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×19
×2

Asked: Jul 08 '14 at 11:38

Seen: 2,085 times

Last updated: Sep 01 '14 at 11:35

powered by OSQA