From SpectLog
Jump to: navigation, search

Problem

After downloading and installing Google Earth for x86_64 architecture on Fedora (at least 15 and 16) the following error occurs at start up:

google-earth
/usr/bin/google-earth: ./googleearth-bin: /lib/ld-lsb.so.3: bad ELF interpreter:
 No such file or directory

Missing file is provided by redhat-lsb package:

yum whatprovides '/lib/ld-lsb.so.3'
...
redhat-lsb-4.0-7.fc16.i686 : LSB base libraries support for Red Hat Enterprise Linux
Repo        : fedora
Matched from:
Filename    : /lib/ld-lsb.so.3

The problem is that it is provided by i686 architecture, which is not installed on 64-bit Fedora by default.

Apparently, package google-earth does not provide dependency information to be used for automatic installation. Instead, manual search and installation of required RPM packages is needed.

Solution

Starting with redhat-lsb package, install it including the required i686 architecture (x86_64 should be already in the system, but it does not hurt to specify it as well):

yum install redhat-lsb redhat-lsb.i686

In addition to that, similar problems may follow. In one particular example, the following packages had to be discovered (based on reported missing library) and installed.

yum whatprovides '*/libfontconfig.so'
yum whatprovides '*/libX11.so'
yum whatprovides '*/libXrender.so'
yum whatprovides '*/libGL.so'
yum whatprovides '*/libGL.so'
yum whatprovides '*/libSM.so'

The installation should again include i686 architecture which is not default x86_64 matching the OS:

yum install fontconfig-devel          fontconfig-devel.i686
yum install libX11-devel              libX11-devel.i686
yum install libXrender-devel          libXrender-devel.i686
yum install libXext-devel             libXext-devel.i686
yum install xorg-x11-drv-nvidia-devel xorg-x11-drv-nvidia-devel.i686
yum install libSM-devel               libSM-devel.i686

Note that some libraries are provided by several driver-specific packages. The choice depends on the target hardware. For example, libGL.so can be found in xorg-x11-drv-nvidia-devel or xorg-x11-drv-catalyst-devel, but only xorg-x11-drv-nvidia-devel was chosen above due to NVIDIA graphic card installed on the host system.