当我执行命令安装应用程序时,出现以下错误:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
我不知道如何解决这个问题,为了找出解决方案,我在网上搜索了解决方案并找到了以下解决方案:
yum install glibc.i686 or yum install glibc.i386
但不幸的是,这根本没有奏效。它抛出以下错误:
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package glibc.i686 available.
Error: Nothing to do
我再次尝试解决这个问题并从网上得到了一些解决方案;
Download glibc rpm packge for centos 6 and install them.
我下载了以下包:
glibc-2.12-1.80.el6.i686.rpm
glibc-common-2.12-1.80.el6.i686.rpm
glibc-devel-2.12-1.80.el6.i686.rpm
glibc-headers-2.12-1.80.el6.i686.rpm
glibc-static-2.12-1.80.el6.i686.rpm
glibc-utils-2.12-1.80.el6.i686.rpm
并尝试使用以下命令进行安装:
yum install glibc.i686
rpm -U glibc-2.12-1.80.el6.i686.rpm
rpm -ivh glibc-2.12-1.80.el6.i686.rpm
他们都没有工作。收到以下消息:
[root@demo tmp_glibc]# rpm -ivh glibc-2.12-1.80.el6.i686.rpm
error: Failed dependencies:
glibc-common = 2.12-1.80.el6 is needed by glibc-2.12-1.80.el6.i686
libfreebl3.so is needed by glibc-2.12-1.80.el6.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.80.el6.i686
为了解决依赖问题,尝试安装“glibc-common-2.12-1.80.el6.i686.rpm”,但运气不好再次运行并给出错误:
[root@demo tmp_glibc]# rpm -ivh glibc-common-2.12-1.80.el6.i686.rpm
error: Failed dependencies:
glibc = 2.12-1.80.el6 is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6 is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.0) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.1) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.1.1) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.1.3) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.10) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.2) is needed by glibc-common-2.12-1.80.el6.i686
libc.so.6(GLIBC_2.3) is needed by glibc-common-2.12-1.80.el6.i686
libcap.so.2 is needed by glibc-common-2.12-1.80.el6.i686
libdl.so.2 is needed by glibc-common-2.12-1.80.el6.i686
libdl.so.2(GLIBC_2.0) is needed by glibc-common-2.12-1.80.el6.i686
libdl.so.2(GLIBC_2.1) is needed by glibc-common-2.12-1.80.el6.i686
谁能帮我弄清楚如何解决这个问题?
更多详情: 操作系统:centos 6.3 Yum 安装包列表:
[root@demo tmp_glibc]# yum list installed glibc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Installed Packages
glibc.x86_64