18.08.2013 Views

Virtual Disk API Programming Guide - Documentation - VMware

Virtual Disk API Programming Guide - Documentation - VMware

Virtual Disk API Programming Guide - Documentation - VMware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Virtual</strong> <strong>Disk</strong> <strong>Programming</strong> <strong>Guide</strong><br />

On install, VDDK creates the directory /usr/lib/vimware-vix-disklib, populated with 32‐bit and 64‐bit<br />

executables and libraries placed into subdirectories bin32, bin64, lib32, and lib64. On determining the OS<br />

type, VDDK copies the vix<strong>Disk</strong>Lib and vixMntapi libraries into /usr/lib. It does not copy libssl.so.0.9.8<br />

or libcrypto.so.0.9.8 into /usr/lib.<br />

On execution, the root user normally has no LD_LIBRARY_PATH, and /usr/lib is ahead of /opt/vmware/lib<br />

in the path. Running the ldd command can help diagnose where a program is getting libvix<strong>Disk</strong>Lib.so and<br />

other libraries. The /opt/vmware/lib directory is neither created nor updated by the VDDK install script.<br />

If you see the error “Failed to load library libcrypto.so.0.9.8” there are several solutions:<br />

Set or reset the LD_LIBRARY_PATH environment so it contains one of the directories above, either /lib32<br />

or /lib64, before it contains /usr/lib.<br />

Change the symbolic link in /opt/vmware/lib (or elsewhere) so it points to one of the directories above,<br />

either /lib32 or /lib64 depending.<br />

Copy the libssl and libcrypto libraries from /usr/lib/vmware-vix-disklib/lib32 (or /lib64)<br />

into /usr/lib.<br />

Open Source Components<br />

VDDK contains the following open source components, with license types indicated:<br />

Boost (BSD style license)<br />

Curl (MIT/X derivative license)<br />

Expat (BSD style license)<br />

FreeBSD (BSD license)<br />

ICU, International Components for Unicode (BSD style license)<br />

LibXML2 (MIT style license)<br />

OpenLDAP (OpenLDAP v 2.8 license)<br />

OpenSSL (OpenSSL license)<br />

Zlib (BSD license)<br />

These open source components have the GNU library general public license:<br />

GetText (LGPL2.0)<br />

Glib (LGPL 2.0)<br />

LibFuse (LGPL2.0)<br />

LibIconv (LGPL2.0)<br />

96 <strong>VMware</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!