Missing X11 lib error trying to install VMware Workstation

Support for the other architectures (X86_64, s390(x) and PowerPC)
Post Reply
eeby
Posts: 3
Joined: 2007/02/05 01:17:28

Missing X11 lib error trying to install VMware Workstation

Post by eeby » 2007/02/05 01:27:06

I'm trying to get VMware Workstation running on an AMD 64 system. I have run Workstation on CentOS before with no problems. However, this time when I try to install it, I'm getting errors.

I downloaded this tar archive:
VMware-workstation-5.5.3-34685.tar.gz

Tried to run vmware-distrib/vmware-install.pl. It runs OK until it gets to the part where it invokes vmware-config.pl , then I get this error:

The correct version of one or more libraries needed to run VMware Workstation may be missing. This is the output of ldd /usr/bin/vmware:
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0x00a00000)
libdl.so.2 => /lib/libdl.so.2 (0xf7fe7000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf7fd5000)
libX11.so.6 => not found
libXtst.so.6 => not found
libXext.so.6 => not found
libXt.so.6 => not found
libICE.so.6 => not found
libSM.so.6 => not found
libXrender.so.1 => not found
libz.so.1 => not found
libc.so.6 => /lib/tls/libc.so.6 (0x008d3000)
/lib/ld-linux.so.2 (0x008ba000)

This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Workstation.

I don't understand the error because I have all these libraries installed:
compat-glibc.i386 1:2.3.2-95.30 installed
compat-glibc.x86_64 1:2.3.2-95.30 installed
compat-glibc-headers.x86_64 1:2.3.2-95.30 installed
glibc.x86_64 2.3.4-2.25 installed
glibc.i686 2.3.4-2.25 installed
glibc-common.x86_64 2.3.4-2.25 installed
glibc-devel.x86_64 2.3.4-2.25 installed
glibc-devel.i386 2.3.4-2.25 installed
glibc-headers.x86_64 2.3.4-2.25 installed
glibc-kernheaders.x86_64 2.4-9.1.98.EL installed
glibc-profile.x86_64 2.3.4-2.25 installed
glibc-utils.x86_64 2.3.4-2.25 installed

When I ignore the error and continue through the prompts, I get this output at the end:

The module bld-2.6.9-11.EL-x86_64smp-RHEL4 loads perfectly in the running
kernel.

Starting VMware services:
Virtual machine monitor [ OK ]
Virtual ethernet [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
Host-only networking on /dev/vmnet1 (background) [ OK ]
Host-only networking on /dev/vmnet8 (background) [ OK ]
NAT service on /dev/vmnet8 [ OK ]

The configuration of VMware Workstation 5.5.3 build-34685 for Linux for this
running kernel completed successfully.

However, after that when I try to run VMware, I get this error:

/usr/lib/vmware/bin/vmware: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

This also is confusing because I do have libX11.so.6 installed here:

/usr/X11R6/lib64/libX11.so.6

Any help would be greatly appreciated. I would especially appreciate any specific details on exactly how to find and install the required libraries.

Thanks,

eeby

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Missing X11 lib error trying to install VMware Workstation

Post by Lenard » 2007/02/05 01:49:27

[quote]
However, after that when I try to run VMware, I get this error:

/usr/lib/vmware/bin/vmware: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

This also is confusing because I do have libX11.so.6 installed here:

/usr/X11R6/lib64/libX11.so.6
[/quote]

And what about the 32-bit counterpart??
http://isoredirect.centos.org/centos/4.4/updates/x86_64/RPMS/xorg-x11-libs-6.8.2-1.EL.13.37.5.i386.rpm

eeby
Posts: 3
Joined: 2007/02/05 01:17:28

Re: Missing X11 lib error trying to install VMware Workstation

Post by eeby » 2007/02/05 03:53:29

[quote]
Lenard wrote:
[quote]
However, after that when I try to run VMware, I get this error:

/usr/lib/vmware/bin/vmware: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

This also is confusing because I do have libX11.so.6 installed here:

/usr/X11R6/lib64/libX11.so.6
[/quote]

And what about the 32-bit counterpart??
http://isoredirect.centos.org/centos/4.4/updates/x86_64/RPMS/xorg-x11-libs-6.8.2-1.EL.13.37.5.i386.rpm[/quote]

Thanks for the reply. I downloaded that rpm that you linked. Are you sure it's the 32-bit version, since the URL includes ".../x86_64/..." I don't know. I'm asking.

When I ran rpm -i on the item you linked, I got...
error: Failed dependencies:
libGL.so.1 is needed by xorg-x11-libs-6.8.2-1.EL.13.37.5.i386
libexpat.so.0 is needed by xorg-x11-libs-6.8.2-1.EL.13.37.5.i386
libfontconfig.so.1 is needed by xorg-x11-libs-6.8.2-1.EL.13.37.5.i386
libfreetype.so.6 is needed by xorg-x11-libs-6.8.2-1.EL.13.37.5.i386
libz.so.1 is needed by xorg-x11-libs-6.8.2-1.EL.13.37.5.i386

Following the path in the link you provided http://isoredirect.centos.org/centos/4.4/updates/x86_64 I found a directory with scores of rpms. I really don't know which ones to download and install or in which order. Also, I've run into the circular dependency problem.

Can you provide just a little more specific detail about what to install, how to install it, where to find it? I'm not asking for a full-on HOW-TO article, but enough info so that I can address the problem.

Is there a way to use yum to handle the dependancies? I thought to research what RPM package includes those libraries, then use yum to install that package. But I ran into a dead end because there are too many packages and the way they are named is too ambiguous. If I start to install something in yum I don't know if it's going to fix the problem or destroy my system.

I would be grateful for some specific guidance to solve this problem.

Thanks,

E

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Missing X11 lib error trying to install VMware Workstation

Post by Lenard » 2007/02/05 13:46:31

it is a lot easier just to use yum in most cases; yum install xorg-x11-libs.i386

pjwelsh
Posts: 2589
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Missing X11 lib error trying to install VMware Workstation

Post by pjwelsh » 2007/02/05 13:49:29

The vmware is likely really going to want you to "yum install libgcc.i386", also (and likely a few other x86 libs)

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Missing X11 lib error trying to install VMware Workstation

Post by Lenard » 2007/02/05 17:16:07

And lets not forget to also use the latest version of the vmware-any-any-update found here;

http://platan.vc.cvut.cz/ftp/pub/vmware/

eeby
Posts: 3
Joined: 2007/02/05 01:17:28

Re: Missing X11 lib error trying to install VMware Workstation

Post by eeby » 2007/02/06 06:12:36

Thanks a lot for the replies. I wish I had checked back here earlier. I just reinstalled the OS, and in the installer selected all of the packages under the software development section. That seems to have done the trick. I appreciate the specific mention of which packages to install using yum. I'll know that for next time now.

Thanks,

E

Post Reply