I am working on an application that requires the use of both the VDDK *and* VIX APIs in the same Linux 64-bit client application.
It appears that each distribution comes with its own (somewhat overlapping) set of libraries that the main API libs (libvixDiskLib.so and libvix.so) are dependent on. And my problem is that I can't get both APIs to work using the same set of shared, dependent libs. They work grest when paired with the libs they came with, but not when I try to combine them (which you *have* to do since they are dynamically shared).
Since the VIX release is more recent, I tried using those libs with the VDDK (libvixDiskLib.so). This results in a crash when trying to open a VMDK.
Conversely, if I try to use the (older) VDDK libs with VIX (libvix.so), the library cannot be loaded because of an unresolved symbol in libgvmomi.
Is there a way to use both of these APIs from the same application?
It would seem to me that we need a release of the VDDK lib that will work with the dependent libs that come with the latest VIX distribution.
Or, is there another way?
The VDDK libs I am using come from the latest, 5.0, distribution:
-rw-r--r-- 1 dev dev 1555256 Jun 10 2011 libcrypto.so.0.9.8
-rw-r--r-- 1 dev dev 322272 Jun 10 2011 libcurl.so.4
-rw-r--r-- 1 dev dev 986352 Jun 10 2011 libglib-2.0.so.0
-rw-r--r-- 1 dev dev 273464 Jun 10 2011 libgobject-2.0.so.0
-rw-r--r-- 1 dev dev 17768 Jun 10 2011 libgthread-2.0.so.0
-rw-r--r-- 1 dev dev 5993808 Jun 10 2011 libgvmomi.so.0
-rw-r--r-- 1 dev dev 325912 Jun 10 2011 libssl.so.0.9.8
-rw-r--r-- 1 dev dev 71369496 Jun 10 2011 libtypes.so
lrwxrwxrwx 1 dev dev 18 Feb 15 12:33 libvixDiskLib.so -> libvixDiskLib.so.5
lrwxrwxrwx 1 dev dev 22 Feb 15 12:33 libvixDiskLib.so.5 -> libvixDiskLib.so.5.0.0
-rw-r--r-- 1 dev dev 1719744 Jun 10 2011 libvixDiskLib.so.5.0.0
lrwxrwxrwx 1 dev dev 21 Feb 15 12:33 libvixDiskLibVim.so -> libvixDiskLibVim.so.5
lrwxrwxrwx 1 dev dev 25 Feb 15 12:33 libvixDiskLibVim.so.5 -> libvixDiskLibVim.so.5.0.0
-rw-r--r-- 1 dev dev 156216 Jun 10 2011 libvixDiskLibVim.so.5.0.0
lrwxrwxrwx 1 dev dev 17 Feb 15 12:33 libvixMntapi.so -> libvixMntapi.so.1
lrwxrwxrwx 1 dev dev 21 Feb 15 12:33 libvixMntapi.so.1 -> libvixMntapi.so.1.1.0
-rw-r--r-- 1 dev dev 1954064 Jun 10 2011 libvixMntapi.so.1.1.0
-rw-r--r-- 1 dev dev 7051120 Jun 10 2011 libvmacore.so
-rw-r--r-- 1 dev dev 5602488 Jun 10 2011 libvmomi.so
The VIX libs I am using come from the latest, 1.11, distribution (version for Workstation-8.0.0-and-vSphere-5.0.0):
-rw-r--r-- 1 root root 1767620 Feb 9 12:56 libcrypto.so.0
-rw-r--r-- 1 root root 1767620 Feb 9 12:56 libcrypto.so.0.9.8
-rw-r--r-- 1 root root 322272 Feb 9 12:56 libcurl.so.4
-rw-r--r-- 1 root root 322272 Feb 9 12:56 libcurl.so.4.1.1
-rw-r--r-- 1 root root 986352 Feb 9 12:56 libglib-2.0.so.0
-rw-r--r-- 1 root root 986352 Feb 9 12:56 libglib-2.0.so.0.2400.2
-rw-r--r-- 1 root root 12520 Feb 9 12:56 libgmodule-2.0.so.0
-rw-r--r-- 1 root root 12520 Feb 9 12:56 libgmodule-2.0.so.0.2400.2
-rw-r--r-- 1 root root 273464 Feb 9 12:56 libgobject-2.0.so.0
-rw-r--r-- 1 root root 273464 Feb 9 12:56 libgobject-2.0.so.0.2400.2
-rw-r--r-- 1 root root 17864 Feb 9 12:56 libgthread-2.0.so.0
-rw-r--r-- 1 root root 17864 Feb 9 12:56 libgthread-2.0.so.0.2400.2
-rw-r--r-- 1 root root 7478928 Feb 9 12:56 libgvmomi.so.0
-rw-r--r-- 1 root root 365066 Feb 9 12:56 libssl.so.0
-rw-r--r-- 1 root root 365066 Feb 9 12:56 libssl.so.0.9.8
-rw-r--r-- 1 root root 6007232 Feb 9 12:56 libvix.so
-rw-r--r-- 1 root root 1291560 Feb 9 12:56 libxml2.so.2
-rw-r--r-- 1 root root 1291560 Feb 9 12:56 libxml2.so.2.6.26
-rw-r--r-- 1 root root 90821 Feb 9 12:56 libz.so.1
THANKS!