Can’t locate version.pm in @INC

I got error “Can’t locate version.pm in @INC” running awk.

[[email protected] /]# ack mp3pdjSu5B0
Can’t locate version.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 /usr/local/bin/ack line 18.
BEGIN failed–compilation aborted at /usr/local/bin/ack line 18.
[[email protected] /]#

On CentOS, this error is fixed by running

1yum install perl-version.x86_64 -y

Leave a Comment

Pin It on Pinterest

Share This
Open chat