Can't locate */*.pm 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 .)

Solution Verified - Updated -

Issue

  • When I run a perl script, The following error occurred.
Can't locate Shell.pm 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 LinieUtil.pm line 12. 
BEGIN failed--compilation aborted at LinieUtil.pm line 12. 

Environment

  • Red Hat Enterprise Linux7
  • perl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content