How to fix /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Hello,

I encountered several days ago this error on a fresh installed CentOS 6 – 64 bit machine while installing some game redirection software from CsServers.ro. This will happen only on 64 bit systems, the cause is the fact that 32 bit libraries are missing from the system, so you can easily fix this issue by installing the 32 bit libraries on your system.

So if you encounter this error /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory this is how you can fix it:

On any RPM based distribution (CentOS/RedHat/Fedora/Suse/Mandriva):

yum -y install glibc.i686

On any DEB based distribution (Debian/Ubuntu/Mint/Crunchbang):

apt-get update
apt-get install ia32-libs

Leave a Reply

Your email address will not be published. Required fields are marked *