简体   繁体   中英

Install 32 bit glibc on 64 bit CentOS 6

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM