Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

powerOn sample script won't run on Linux machine

$
0
0

 

I compiled the "powerOn" script on one of my SLES 11 64-bit machines and I copied the binary "powerOn" to another SLES 11 machine (that doesn't have the VIX API installed.) It won't run so I copied over the "libvixAllProduct.so" file into /usr/lib64. Now, it runs, but errors out when making a VIX API call.

 

 

 

 

 

 

  1. ldd ./powerOn

 

 

        libvixAllProducts.so => /lib64/libvixAllProducts.so (0x0000003b9e200000)

        libdl.so.2 => /lib64/libdl.so.2 (0x0000003f00c00000)

        libc.so.6 => /lib64/libc.so.6 (0x0000003f00800000)

        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003f02000000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003f03000000)

        /lib64/ld-linux-x86-64.so.2 (0x0000003f00400000)

 

 

 

  1. ./powerOn64Test "[configs] vmshe-vm-4-54/vmshe-vm-4-54.vmx"

hello?

Made it to here!

Attempted VixHost Connect

VIX FAILED!

Aboring

 

 

Do I need more than just the "libvixAllProducts.so' file to run the binary?

 

 

 

 

 

thanks! Really stuck this time...

 

 

-h

 

 


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>