Step 1: Install the latest 2.0.2 VMware Server package and run the configuration. It will crash, but just ignore this for now.
Step 2: Run the following command, and make note of the response.
arch
Step 3: Run the following commands, and replace any instance of {ARCH} with the result of Step 2:
mkdir ~/vmwareglibc cd ~/vmwareglibc wget http://vault.centos.org/5.3/os/{ARCH}/CentOS/glibc-2.5-34.{ARCH}.rpm rpm2cpio glibc-2.5-34.{ARCH}.rpm | cpio -ivd mkdir /usr/lib/vmware/lib/libc.so.6 mv lib64/libc-2.5.so /usr/lib/vmware/lib/libc.so.6/libc.so.6
Step 4: Open the VMware hostd process script for editing.
vim /usr/sbin/vmware-hostd
Step 5: At line 372, before the program is called, insert two empty lines and add the following:
export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH
Before Example:
if [ ! "@@VMWARE_NO_MALLOC_CHECK@@" = 1 ]; then export MALLOC_CHECK_=2 fi eval exec "$DEBUG_CMD" "$binary" "$@"
After Example:
if [ ! "@@VMWARE_NO_MALLOC_CHECK@@" = 1 ]; then export MALLOC_CHECK_=2 fi export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH eval exec "$DEBUG_CMD" "$binary" "$@"