Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

undefined symbol: PL_thr_key

by tqisjim (Beadle)
on Dec 14, 2012 at 18:56 UTC ( #1008893=perlquestion: print w/ replies, xml ) Need Help??
tqisjim has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to upgrade my system to Perl 5.16. I'm having trouble as indicated. So far, based on some Google searches, I've concluded the problem does not seem specific to XML::Parser::Expat. Otherwise, there doesn't seem to be a definitive solution posted anywhere. Does anybody know where this symbol originates?
# Error: Can't load '/home/jim/perl5/lib/perl5/i686-linux-gnu-thr +ead-multi-64int/auto/XML/Parser/Expat/Expat.so' for module XML::Parse +r::Expat: /home/jim/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int +/auto/XML/Parser/Expat/Expat.so: undefined symbol: PL_thr_key at /usr +/local/lib/perl5/5.16.2/i686-linux/DynaLoader.pm line 190.
Thanks!

Comment on undefined symbol: PL_thr_key
Download Code
Re: undefined symbol: PL_thr_key
by tqisjim (Beadle) on Dec 14, 2012 at 19:09 UTC
    Please disregard this question. Apparently, using my package manager to uninstall the previous version of perl was not as effective as a brute force 'rm -f'.

      I'll not disregard your question, for the sake of future readers.

      The error comes from a module compiled against threaded Perl while your Perl installation is not threaded (probably because you recompiled it). The solution is to recompile the module against the new Perl.

      (I had a few such problems when toggling the threads flag on Gentoo.)

        Thank you so much for not disregarding the quesion... I had recompiled Perl without threading and couldn't figure out what the problem was until I read your response! Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008893]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-09-16 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (33 votes), past polls