kvn95ss has asked for the wisdom of the Perl Monks concerning the following question:
Hello, newbie here so please help me in the nightmare I'm stuck.
I'm currently running an RHEL server which has perl installed from yum. I'm trying to install a software called Ensembl-VEP which needs certain perl packages, few of them being LWP::UserAgent,XML::DOM and BioPerl. The issue is, according to cpanm and yum, the packages have already been installed!! However, when I try to use the modules with this - perl -e "use LWP::Agent" I get this error -
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP +::UserAgent module) (@INC contains: /root/perl5/lib/perl5/ /usr/local +/bin/perl /usr/local/lib/perl5/site_perl/5.32.1/x86_64-linux /usr/loc +al/lib/perl5/site_perl/5.32.1 /usr/local/lib/perl5/5.32.1/x86_64-linu +x /usr/local/lib/perl5/5.32.1) at -e line 1. BEGIN failed--compilation aborted at -e line 1.
Since I'm not the one who installed perl onto this system, nor can I contact them, what is the best possible solution to resolve this issue?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Weird perl issue, installed packages not being recognized
by hippo (Archbishop) on Apr 08, 2021 at 08:20 UTC | |
|
Re: Weird perl issue, installed packages not being recognized
by parv (Parson) on Apr 08, 2021 at 07:30 UTC | |
|
Re: Weird perl issue, installed packages not being recognized
by kvn95ss (Initiate) on Apr 08, 2021 at 11:40 UTC | |
by Fletch (Bishop) on Apr 08, 2021 at 13:17 UTC | |
|
Re: Weird perl issue, installed packages not being recognized
by Anonymous Monk on Apr 08, 2021 at 12:50 UTC |