Lady_Aleena has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Symbol lookup error for my ~/perl5/lib/perl5
by bliako (Monsignor) on Jun 06, 2019 at 00:02 UTC | |
by marto (Cardinal) on Jun 06, 2019 at 12:40 UTC | |
Re: Symbol lookup error for my ~/perl5/lib/perl5
by karlgoethebier (Abbot) on Jun 05, 2019 at 20:07 UTC | |
by Lady_Aleena (Priest) on Jun 05, 2019 at 21:34 UTC | |
Re: Symbol lookup error for my ~/perl5/lib/perl5
by Anonymous Monk on Jun 06, 2019 at 14:19 UTC | |
by Lady_Aleena (Priest) on Jun 06, 2019 at 16:37 UTC | |
by karlgoethebier (Abbot) on Jun 07, 2019 at 11:43 UTC | |
by Anonymous Monk on Jun 06, 2019 at 20:22 UTC |