VIX API

 View Only
  • 1.  Vix installation

    Posted Jan 02, 2008 08:24 PM

    I'm a total newbie at this. I followed the installation instructions for the vix-api and then tried the sample "findhosttest.pl" only to receive the following

    Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/VMware/VixBinding/VixBinding.so' for module VMware::VixBinding: libvix.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.

    at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13

    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13.

    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13.

    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/Simple.pm line 23.

    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/Simple.pm line 23.

    Compilation failed in require at powertest.pl line 18.

    BEGIN failed--compilation aborted at powertest.pl line 18.

    I poked around a bit here and some people copied the file to different locations but I haven't had any luck at all trying all the solutions. Does anyone have a clear solution for this novice?

    FYI I'm running CentOS 5.0



  • 2.  RE: Vix installation

    Broadcom Employee
    Posted Jan 07, 2008 07:21 PM
    Did you set up your LD_LIBRARY_PATH so that libvix.so can be found?


  • 3.  RE: Vix installation

    Posted Jan 10, 2008 02:59 PM

    No I hadn;t but that just changed the message a bit

    Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/VMware/VixBinding/VixBinding.so' for module VMware::VixBinding: libgvmomi.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.

    at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13

    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13.

    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/API/API.pm line 13.

    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/Simple.pm line 23.

    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/VMware/Vix/Simple.pm line 23.

    Compilation failed in require at powertest.pl line 18.

    BEGIN failed--compilation aborted at powertest.pl line 18.



  • 4.  RE: Vix installation
    Best Answer

    Broadcom Employee
    Posted Jan 11, 2008 07:51 PM

    So the followup question is does LD_LIBRARY_PATH go to where libgvmomi.so.0 is?

    Refrain from pointing LD_LIBRARY_PATH to where vix-perl is, but should point to a sub-directory of vmware-vix.

    I'm not sure which version has what, but mine is like /usr/lib/vmware-vix/lib/.../64bit

    Hope that helps.



  • 5.  RE: Vix installation

    Posted Jan 11, 2008 08:01 PM

    Thanks so much for your help with that. I don't understand why the install script doesn't take care of all that for you. Now its on the the next issue. which I posted today. I wish they made this stuff a bit more idiot proof.