Installing VMware Server on Ubuntu 8.04 (Hardy Heron)
25th of April 2008
I've had problems installing vmware server, this is how I got it working:
make sure headers are installed
apt-get install linux-headers-`uname -r` build-essential xinetd
I just accepted all the defaults, then ran into an error looking like :
make: Entering directory /tmp/vmware-config3/vmmon-only
to fix, download / unpack the vmware-any-any-update-116.tgz and run runme.pl.
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory /usr/src/linux-headers-2.6.24-16-generic
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:48:
/tmp/vmware-config3/vmmon-only/./include/vm_basic_types.h:161: error:
conflicting types for uintptr_t
Then, if the install runs fine, but you have problems starting, ie clicking on the "VMware Server Console" icon doesnt do anything, or running the command vmware gives you
/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)
Then running these commands fixed it for me
/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)
$ sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0
the path to /usr/lib/vmware might vary, so check them first.
$ sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
Hopefully your new vmare server is up and running now! have fun!
Comments
There has been no comments
Post a Comment