Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl segfaults and wont run. Something to do with libperl.so

by sundialsvc4 (Abbot)
on Jul 11, 2017 at 20:07 UTC ( #1194863=note: print w/replies, xml ) Need Help??


in reply to Perl segfaults and wont run. Something to do with libperl.so

Glad to know that this fixed it.

In addition, you probably should know that Linux systems use a “loader cache,” which is re-populated by the sudo ldconfig command.   Installer packages normally run this command for you, but, should you be mucking-around with libraries yourself, you might need to run it.   Linux has a very flexible system by which applications (and libraries) can identify the libraries that they need, and the loader cache pre-calculates these answers so that a file-search does not have to ... and, indeed, does not ... occur.   When you “re-installed,” this undoubtedly caused this command to be run, possibly fixing the problem.   Anytime you see the loader saying that a library cannot be found when you know that it is there, rebuild the loader cache.

  • Comment on Re: Perl segfaults and wont run. Something to do with libperl.so

Replies are listed 'Best First'.
Re^2: Perl segfaults and wont run. Something to do with libperl.so
by shmem (Chancellor) on Jul 11, 2017 at 21:34 UTC

    This is a good advice, and I suspect people are downvoting this ad hominem, not ad posting.

    Cheers.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

      People might also be downvoting because it replies to the wrong node, as is a monk’s wont, and makes an odd artificial intelligence claim about Linux with its purported “system by which applications (and libraries) can identify the libraries that they need” and is also full “of” pointless, distracting, meaningless, misplaced—dare one® say, even, « Idiotic »—typesetting embellishments™. ˇΩ!

      The problem isn’t being always wrong as much as often being half right Thereby gaining some kind of credibility that is absolutely unearned. Even two-thirds right is a D- and an invitation to collect unemployment benefits.

        Even two-thirds right is a D- and an invitation to collect unemployment benefits.

        This is art.

        Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

      its off topic to discuss votes outside of pmdiscuss

      either way, spam should always be downvoted

        its off topic to discuss votes outside of pmdiscuss

        My remark doesn't warrant opening a thread in pmdiscuss.

        either way, spam should always be downvoted

        The post in question isn't spam. At all. And if you are eager to apply tight rules, the OP is off topic, since it is not so much about perl, but rather about a linker issue. And to that issue, sundialsvc4s post adds valuable information. Get comfortable with reading and evaluating posts for what they carry, don't get biased by your ideas about their author.

        perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194863]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2017-09-20 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (241 votes). Check out past polls.

    Notices?