VMware Cloud Community
lamw
Community Manager
Community Manager

How to install VDDK 1.1 on vMA 4.0 (libfuse.so.2 fix)

For those of you that might be interested in installing and giving Virtual Disk Development Kit 1.1 a try on VMware vMA, you may run into an issue with the following:

The following libraries could not be found on your system:

libfuse.so.2

Here is the procedure on remediating the issue and getting VDDK 1.1 installed

1. Download VDDK 1.1 ( VMware-vix-disklib-1.1.0-163495.x86_64.tar.gz ) and upload to your vMA host

2. Extract the contents

tar -zxvf VMware-vix-disklib-1.1.0-163495.x86_64.tar.gz

3. Download libfuse.so.2 rpm package for RHEL 5 (http://rpm.pbone.net/index.php3/stat/4/idpl/9551023/com/libfuse-2.7.4-1.el5.pp.x86_64.rpm.html) and upload to your vMA host. You can actually do this in one step using curl found on vMA:

curl -O ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/x86_64/libfuse-2.7.4-1.el5.pp.x86_64.rpm

4. Install the rpm dependancy

[vi-admin@inTheGhetto ~]$ sudo rpm -ivh libfuse-2.7.4-1.el5.pp.x86_64.rpm
warning: libfuse-2.7.4-1.el5.pp.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6971f6ac
Preparing...                ########################################### [100%]
   1:libfuse                ########################################### [100%]

5. cd into VDDK 1.1 extracted directory

cd vmware-vix-disklib-distrib/

6. Install VDDK 1.1 and accept the EULA and default installation in /usr

[vi-admin@inTheGhetto vmware-vix-disklib-distrib]$ sudo ./vmware-install.pl

Now both vmware-mount and vmware-vdiskmanager will work without complaining about the missing libfuse.so.2

I would hope in the future that all side toolkits/products will be compatible with vMA without any additional research/package dependency. I disklike the fact that users must go out to the net to find patches/packages to satisfy a VMware product installation. I know that vApp's produced by VMware are highly customized to fit a specific need and I prefer that all dependency's are covered without having end-users potentially download unsupported/unknown packages onto these vApps.

It would also be awesome to include with vMA: VMware VIX, VDDK, etc.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
2 Replies
iben
Contributor
Contributor

Thanks for the tip William.

I agree with you on the "challanges" vmware has with their linux appliances at this time. At VMworld vExpert session this year Steve Herrod said they are taking steps to address this.

Why not use CentOS and publish these tools (VIX, VDDK, etc) to the VMware YUM Repo?

<code>baseurl=http://packages.vmware.com/tools/</code>

http://communities.vmware.com/thread/198161

http://www.vmware.com/pdf/osp_install_guide.pdf

I b e n

I b e n +14087824726 IM info: ibenrodriguez - yahoo iben.rodriguez - gmail ibenr - aol ibenrodriguez - skype Follow me on http://twitter.com/iben http://communities.vmware.com/people/iben
Reply
0 Kudos
NoorNashid
Contributor
Contributor

hey. I am still hitting the issue "libfuse.so.2" could not be found. Please note I have already put libfuse.so.2.

The prefix is the root directory where the other
folders such as man, bin, doc, lib, etc. will be placed.
[/usr]

The following libraries could not be found on your system:
libfuse.so.2

You will need to install these manually before you can run VMware VIX DiskLib
API.

Press enter to continue.

The installation of VMware VIX DiskLib API 5.1.0 build-774844 for Linux
completed successfully. You can decide to remove this software from your system
at any time by invoking the following command:
"/usr/bin/vmware-uninstall-vix-disklib.pl".

Enjoy,

--the VMware team

Reply
0 Kudos