I was using perl5 and executing my script
perl myscript.R
and was getting following error.
Can't locate local/lib.pm in @INC (you may need to install the local::lib module) (@INC contains: /kb/deployment/lib /kb/deployment/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base).
BEGIN failed--compilation aborted.
so i installed local::lib using following command
cpan local::lib
but after i tried to use the perl myscript.pl and getting
XS.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xdb80080)
I am clueless about fixing thsi issue.