Good Morning,
I followed the SDK installation guide and the prerequisite installation guide to the letter.
I installed the vSphere Perl SDK for vSphere 6.7 and I installed all these Perl modules indicated by the SDK:
When executing the vifs command I get the following error:
[root ~]# /usr/bin/vifs --help
Can't locate loadable object for module Data::UUID in @INC (@INC contains: /usr/lib64/perl5/libwww-perl-5.837/lib /usr/lib64/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5 .) at /usr/share/perl5/VMware/SSOConnection.pm line 27.
Compilation failed in require at /usr/share/perl5/VMware/SSOConnection.pm line 27.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/SSOConnection.pm line 27.
Compilation failed in require at /usr/share/perl5/VMware/VICommon.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/VICommon.pm line 25.
Compilation failed in require at /usr/share/perl5/VMware/VIRuntime.pm line 15.
Compilation failed in require at /usr/bin/vifs line 29.
BEGIN failed--compilation aborted at /usr/bin/vifs line 29.
[root ~]#
On the indicated routes if the file UUID.pm is found, for example:
[root@ ~]# ls -alh /usr/lib64/perl5/libwww-perl-5.837/lib
total 24K
drwxr-xr-x 2 root root 36 Aug 7 07:22 .
drwxr-xr-x 3 root root 17 Aug 6 10:23 ..
-rw-r--r-- 1 root root 14K Aug 6 10:23 GUID.pm
-r--r--r-- 1 root root 4.5K Aug 7 07:22 UUID.pm
[root@ ~]#
Another situation is that despite having installed the Perl modules, the SDK script at the end indicates that these modules are missing, I have done it several times with the same result.
Operating system: Red Hat Enterprise Linux Server release 7.5 (Maipo)