Wednesday, July 16, 2008

VMware Server 1.0.6 on Ubuntu Hardy

I've just installed VMware Server (free as in price, but not open source), and on running up their GUI app (VMware Server Console) I get the following:

nathanr@raptor:~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)


As it turns out, VMware override the local libraries that are installed on your system. If you cancel the override for libgcc then the problem goes away and the VMware Server console works. To do so, edit /usr/lib/vmware/lib/wrapper-gtk24.sh and find the line:

vm_append_lib 'libgcc_s.so.1'


And then comment it out as such:

#vm_append_lib 'libgcc_s.so.1'


Now VMware Server Console will work.

No comments: