Friday, September 12, 2008

Vmware server console on Ubuntu hardy

Installing the VMware server console on Ubuntu hardy is quite simple. You can download the packages from the vmware website. After you download the package and extracted everything you have to run (as root, so do a sudo) vmware-install.pl

You can almost do everything as the installer suggest. The trick is however in the post installation steps. You might end up after installing the vmware server console on ubuntu with the following errors when you try to start the console:


jlouwers@NL-jlouwers:/etc/vmware$ 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)


The solution to solve this problem is to execute the following 2 commands:


sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0

Now when you start the vmware client all should work fine.

1 comment:

Anonymous said...

I did this... work for me.

sudo mv /usr/lib/vmware-server-console/lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1.bak
sudo mv /usr/lib/vmware-server-console/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/libpng12.so.0.bak

sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/