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

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!
        And perl-cleaner --reallyall should clear it up

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008893]
Approved by ww
[ambrus]: If you want to typeset a manuscript, you can still do much less work then in the manual typesetting ages and get good formatting.
[ambrus]: All with only cheap modern computers and software.
[ambrus]: Something you can have at home and your corner print shop, without a whole printing press's worth of equipment.
[ambrus]: As for TeX, I'm not trying to discourage anyone from writing carefully beautifully typeset documents, in maths or outside. But most people aren't willing to do that, and will spend only little time about the formatting,
[ambrus]: and try to leave everything else to automated systems without checking how what they write came out format-wise, and for those people, discounting the part about journals with a specific format above,
[ambrus]: just blindly recommending to use LaTeX is a bad idea now.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-09-26 11:18 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.