After setting up new Fedora 14 x86_64 system I have installed Skype for Fedora offered on the Skype web page. It turned out that it is i586 compilation and my system wasn’t configured to run 32-bit applications out of the box. The same problem showed up with brand new Firefox 4 that also by default came in i386 flavor.
► Jump straight to solution
First error I got was:
bash: /usr/bin/skype: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
This is the sign of missing i386 version of glibc library.
After installing that, there were more errors, i.e.:
skype: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory
and more of such.
Each one means missing i386 (i686) library that was not installed by default on x86_64 system.
To find out package that needs to be installed for a particular error, I first check if I do have x86_64 version, i.e.
$ locate libXv.so.1
/usr/lib64/libXv.so.1
/usr/lib64/libXv.so.1.0.0
Then I check what is the name of the package containing it:
$ rpm -qf /usr/lib64/libXv.so.1
libXv-1.0.5-1.fc13.x86_64
and I learn that I need to install libXv.i686 — the same package in i386/i686 flavor.
For Skype this is the command that will install all the requirements:
yum install glibc.i686 alsa-lib.i686 libXv.i686 libXScrnSaver.i686 libstdc++.i686 qt.i686 qt-x11.i686
Firefox 4 is more demanding and needs yet:
yum install gtk2.i686 dbus-glib.i686 libXt.i686