CentOS software installation error: and lib and ld linux. so. 2: bad ELF interpreter

  • 2020-05-27 07:57:23
  • OfStack

CentOS software installation error: /lib/ ld-linux. so. 2: bad ELF interpreter


[orangle@localhost Downloads]$ uname -m&&uname -r
[orangle@localhost Downloads]$ cat /etc/redhat-release 
CentOS release 6.2 (Final)

1 error occurred while using

bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

This is because 32-bit programs are installed on 64-bit systems


yum install glibc.i686

Continue installing packages after reinstalling with the following class error

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
yum install libstdc++.so.6

Thank you for reading, I hope to help you, thank you for your support of this site!

Related articles: