I got error “Can’t locate version.pm in @INC” running awk.
[root@vmi431969 /]# 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. [root@vmi431969 /]#
On CentOS, this error is fixed by running
yum install perl-version.x86_64 -y
See Errors
Leave a Reply