Come far funzionare VMware Server e Console su Ubuntu 8.04

Da quando ho aggiornato un server Ubuntu 7.10 a 8.04 Hardy Heron LTS VMware 1.0.5 non funziona più.

Dopo un po’ di ricerche ho trovato questa soluzione, combinando i contributi di

http://www.howtoforge.com/vmware-server-on-ubuntu8.04

e

http://groups.google.com/group/linux.debian.user/browse_thread/thread/a36934f2f2e53faa/4da33b0c23ffd364?lnk=st&q=vmware-any-any-update-116.tgz#4da33b0c23ffd364

Prerequisito è l’installazione degli header del kernel 2.6.24:

sudo apt-get install linux-headers-2.6.24-16-server

Poi l’installazione di una patch che a sua volta lancerà la riconfigurazione di vmware-server:

wget http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz

tar -xzvf vmware-any-any-update-116.tgz

cd vmware-any-any-update116/

sudo ./runme.pl

Sul mio PC poi, dopo l’analogo aggiornamento, la vmware console non partiva più:

antonio@hardy:~$ vmware-server-console &

antonio@hardy:~$ /usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/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-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/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-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/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-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/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-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/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-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

Su http://www.cybertek.it/vmware-server-console-vs-ubuntu-hardy-herron/ ho trovato questa soluzione. Basta lanciare da terminale questi due comandi:

sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0

sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1

Hai trovato interessante questo articolo? Puoi iscriverti ai feed o ricevere i prossimi articoli per email.

Rispondi