http://www.perlmonks.org?node_id=1194863


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.

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'