Hello. I am getting a symbol lookup error when trying to install a module to ~/perl5/lib or use that lib in apache2.

When trying to install a module with cpan I get the following:

/usr/bin/perl: symbol lookup error: /home/me/perl5/lib/perl5/x86_64-li +nux-gnu-thread-multi/auto/List/Util/Util.so: undefined symbol: Perl_x +s_apiversion_bootcheck

When I used that directory in apache2, I get the following error in my error log:

/usr/bin/perl: symbol lookup error: /home/me/perl5/lib/perl5/x86_64-li +nux-gnu-thread-multi/auto/List/Util/Util.so: undefined symbol: Perl_x +s_apiversion_bootcheck

I don't know if it is just List::Util that has a problem or my entire ~/perl5/lib.

This issue happened after I upgraded my Debian distribution from 8 (Jessie) to 9 (Stretch). perl -v returns the following:

This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-li +nux-gnu-thread-multi

which perl returns:

/usr/bin/perl

I can not think of anything else I need to add that will help with figuring out this problem.

All help is appreciated!

This issue appears to be resolved. The suggestion of an Anonymous Monk to rename the dir and reinstall the modules seems to have worked. Thank you all for your patience.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena

In reply to Symbol lookup error for my ~/perl5/lib/perl5 by Lady_Aleena

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.