tdubb123
Expert
Expert

Can't locate VMware/VIRuntime.pm in @INC

I installed vCLI on my centos machine ut when i try to run a setup.pl from a equalogic installer, it gives me this error

[root@Xx EqualLogic-ESX-Multipathing-Module]# perl setup.pl
Can't locate VMware/VIRuntime.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at setup.pl line 17.
BEGIN failed--compilation aborted at setup.pl line 17.
0 Kudos
3 Replies
VTsukanov
Virtuoso
Virtuoso

Hi

It looks as you don't install vCLI prerequisites ... take a look Installing and Uninstalling vCLI on Linux

0 Kudos
Chris1962
Contributor
Contributor

I installed vSphere CLI on my Win7 machine running Cygwin and I get the same error when executing the perl scripts. I NEED to run them within cygwin? How?

0 Kudos
TPT
Enthusiast
Enthusiast

VMware vSphere 5.1instruction said that if you don't reboot after installing vCLI the path variable might not be right.

0 Kudos