Can’t locate in @INC (@INC contains:/usr/local/lib64/perl5 /usr/local/share/perl5

Date posted: 30/08/2019


As a result, in the Cpanel server as Perl could not recognize that dependency was installed.

Additionally, for instance it will arise problems getting to install correctly using Cpanel’s easyapache.

Error exposed:

Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/ line 62.

Solution and Fix:

Threads at suggested a possible fix was reinstalling Perl.

However, we found that there were missing of Perl module that is provided as part of the core Perl package. Without your server can’t load C libraries into Perl.

After that, we can able to reinstall your servers Perl instance using the following command.

yum reinstall perl-5.16.3-294.el7_6.x86_64

Similarly, this way error had fixed !!

Thanks for using pheonix solutions.

You find this tutorial helpful? Share with your friends to keep it alive.

Leave a Reply