在64位CentOS 6上安装32位glibc [英] Install 32 bit glibc on 64 bit CentOS 6
问题描述
(a)我试图在基于64位Cent OS-6的系统(无法访问互联网)上运行软件(64位),但出现以下错误:
(a) I was trying to run a Software (64-bit) on a 64 bit Cent OS-6 based System (with no internet access), and I got following error:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
(b)在搜索时,可以理解将要安装32位glibc。搜索具有Internet连接的其他系统中的所有依赖项,从Internet下载并通过pendrive将所有rpm加载到系统中,并尝试安装32位的glibc。我得到以下错误消息(使用rpm命令时):
(b) On searching it was understood that 32-bit glibc is to be installed. Searched all dependencies in a different system with internet connection, downloaded from internet, and loaded all rpms in the system via pendrive and tried to install glibc for 32 bit. I got below error message is obtained (when using rpm command):
file /usr/bin/ldd from install of glibc-common-2.12-1.192.el6.i686 conflicts with file from package glibc-common-2.12-1.132.el6.x86_64
file /usr/lib/locale/locale-archive.tmpl from install of glibc-common-2.12-1.192.el6.i686 conflicts with file from package glibc-common-2.12-1.132.el6.x86_64
file /usr/share/i18n/charmaps/BIG5-HKSCS.gz from install of glibc-common-2.12-1.192.el6.i686 conflicts with file from package glibc-common-2.12-1.132.el6.x86_64
file /usr/share/i18n/locales/ca_ES from install of glibc-common-2.12-1.192.el6.i686 conflicts with file from package glibc-common-2.12-1.132.el6.x86_64
file /usr/share/i18n/locales/or_IN from install of glibc-common-2.12-1.192.el6.i686 conflicts with file from package glibc-common-2.12-1.132.el6.x86_64
请帮助我解决此问题。
推荐答案
glibc-commo 64位CentOS6需要n.x86_64
。安装后,可以安装glibc.i686。或者,您也可以使用yum进行安装:
glibc-common.x86_64
is required for a 64bits CentOS6. When installed, you can install glibc.i686 . Or you can install both with yum :
# cd [Downloads]/ && yum install glibc-common-2.12-1.192.el6.x86_64.rpm glibc-2.12-1.192.el6.i686.rpm
但是我想您已经有了glibc-common.x86_64吗?
But I guess you already have glibc-common.x86_64 ?
这里的不寻常问题是,您没有glibc.i686。通常是默认安装在操作系统上。
The unusual issue here is, that you have no glibc.i686 . It's usually installed at OS install as default.
这篇关于在64位CentOS 6上安装32位glibc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!