Install 32 bit glibc on 64 bit CentOS 6

拟墨画扇 提交于 2019-12-25 01:16:10

问题


(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) 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

Kindly help me to solve this issue.


回答1:


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

But I guess you already have glibc-common.x86_64 ?

The unusual issue here is, that you have no glibc.i686 . It's usually installed at OS install as default.



来源:https://stackoverflow.com/questions/38217355/install-32-bit-glibc-on-64-bit-centos-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!