bash: ./loopy: /lib/ld-linux.so.2: 错误的 ELF 解释器: 没有那个文件或目录

bash: ./loopy: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

我已经在 Linux CentOS 中安装了 "Loopy" 程序,但是当尝试 运行 时它说:

bash: ./loopy: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

如何为此设置路径?

引用 howtodoityourself.org,

You need to install glibc.1686. Do it by:

yum -y install glibc.i686

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.

编辑:

为了你的

 ./loopy: error while loading shared libraries:
libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file
or directory

错误,尝试yum provides:

yum provides libstdc++-libc6.2-2.so.3

它会这样回答你:

compat-libstdc++-296.i386                2.96-135               core
Matched from:
libstdc++-libc6.2-2.so.3

然后,做一个

yum install compat-libstdc++-296