LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2017, 07:53 AM   #16
dsbx
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled

Delete this post if possible.

Last edited by dsbx; 08-30-2017 at 08:31 AM.
 
Old 08-30-2017, 08:30 AM   #17
dsbx
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled
Yes, here is the error I get when using the Kx module.

Code:
perl: symbol lookup error: /<path>/<to>/perllib/lib64/perl5/auto/Kx/Kx.so: undefined symbol: Perl_Gthr_key_ptr
After a review this morning, all the systems that use this module with no issue are running Centos 6.5, including the server on which the module was built. The server that is having issues is running Centos 7.2, so perhaps that's why.

That said, I do think it's odd that a fresh Perl v5.10.1 instance on Centos6.5 is also getting the same error.
 
Old 08-30-2017, 10:18 AM   #18
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
Seems to me you have Kx built from a perl with threads (note the undefined symbol) and loading them on another perl without threads.
 
Old 08-30-2017, 10:32 AM   #19
dsbx
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by zakame View Post
Seems to me you have Kx built from a perl with threads (note the undefined symbol) and loading them on another perl without threads.
you are partially correct.

The new build of 5.10.1 that I did has no threads.

The build of 5.16.3 does have threads.
 
Old 08-30-2017, 11:27 AM   #20
dsbx
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by zakame View Post
Seems to me you have Kx built from a perl with threads (note the undefined symbol) and loading them on another perl without threads.
I rebuilt my new 5.10.1 with threads, and this solved that issue, so now both 5.10.1 instances can run the Kx module successfully.

But the issue where 5.16.3-threaded fails on loading Kx persists.
 
Old 09-04-2017, 09:24 PM   #21
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
FWIW, since your core problem is to get your Kx-using script to run on all your supported Perls, maybe another approach is to build a portable version of your script using something like pp from PAR::Packer? There's also the recently announced stew dependency packager. I've done a similar thing before with Crypt::LE, so maybe this can help you too.
 
Old 09-07-2017, 12:51 PM   #22
dsbx
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by zakame View Post
FWIW, since your core problem is to get your Kx-using script to run on all your supported Perls, maybe another approach is to build a portable version of your script using something like pp from PAR::Packer? There's also the recently announced stew dependency packager. I've done a similar thing before with Crypt::LE, so maybe this can help you too.
was talking with a co-worker about compiling everything into an executable to avoid these types of issues, so yeah I'll look into stew. For now I've built perl on a shared volume accessible from all hosts in question, and we'll use that one going forward.
 
  


Reply

Tags
perl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_link bagi Slackware 3 05-17-2011 07:49 AM
glib error while installing patch: symbol lookup error undefined symbol: g_dgettext mthakare Linux - Software 1 06-14-2010 04:01 AM
[SOLVED] libXi.so.6: undefined symbol: XESetWireToEventCookie error (-current) slackd Slackware 1 03-03-2010 07:42 AM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration