Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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/' for module XML::Parse +r::Expat: /home/jim/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int +/auto/XML/Parser/Expat/ undefined symbol: PL_thr_key at /usr +/local/lib/perl5/5.16.2/i686-linux/ line 190.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2016-10-21 17:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.