VMware on Ubuntu Edgy Eft

I have just upgraded my laptop to Ubuntu Edgy Eft after waiting for so long. After the upgrade, I was unable to start VMware Player because of missing some libraries. The symptom was that the VMware process consumed 100% utilization and I had to kill it manually. There are several threads talking about this issue, e.g., Ubuntu Forums.

It is possible to solve this problem using LD_PRELOAD as follows.

LD_PRELOAD=/usr/lib/libdbus-1.so.3 vmplayer xxx.vmx

For permanent solution, you may patch /usr/lib/vmware/lib/wrapper-gtk24.sh.

--- wrapper-gtk24.sh.old        2006-09-08 10:03:49.769448000 -0500
+++ wrapper-gtk24.sh    2006-09-08 10:04:31.036027000 -0500
@@ -115,6 +115,9 @@
 vm_run() {
    local exitCode;

+   # Fix for vmplayer pulling in libdbus-1.so.2 instead of .3
+   export LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD
+
    # Append any libraries that are still missing.
    if [ "$VMWARE_USE_SHIPPED_GTK" = 'force' ]; then
       export LD_PRELOAD="$LD_PRELOAD":"`LANGUAGE=C LANG=C ldd "$binary" | vm_append_missing`"

Tags: , ,

Post new comment