Wednesday, March 23, 2011

vmware-tools install error

While installing/updating vmware tools (VMwareTools-8.3.2-257589.tar.gz) for linux guests, I sometimes receive the error:

Unable to create symbolic link "/usr/lib/vmware-tools/bin"


Unable to create symbolic link "/usr/lib/vmware-tools/libconf"

Seems the installer has a bug where it fails to remove the existing directory before creating the symlink (it prompts to overwrite, but of course overwriting a dir with a symlink is not possible - therefore I'd call this a BUG)

The solution is to simply remove the existing dirs:

rm -rf /usr/lib/vmware-tools/libconf
rm -rf /usr/lib/vmware-tools/bin

and run the install again:

./ -d

No comments: