Can't install glibc.i686 on RHEL7.x

Latest response

I am trying to build an old piece of software which requires glibc.686. I can't seem to find where the repository is for glibc.i686.

[root@dub-001948-VM01 ~]# yum install glibc.i686
Loaded plugins: auto-update-debuginfo, langpacks, search-disabled-repos
No package glibc.i686 available.
Error: Nothing to do
[root@dub-001948-VM01 ~]#

The compiler error is:

x86.el5.i386/usr/bin/g++: /lib/ bad ELF interpreter: No such file or directory

I have also tried to install compatibility libraries.


The glibc.i686 package is definitely in the RHEL Server, Workstation, and Desktop channels:

I just did this:

# yum install glibc.i686

Running transaction
  Installing : glibc-2.17-222.el7.i686 1/2
  Installing : nss-softokn-freebl-3.34.0-2.el7.i686 2/2
  Verifying  : nss-softokn-freebl-3.34.0-2.el7.i686 1/2
  Verifying  : glibc-2.17-222.el7.i686 2/2

  glibc.i686 0:2.17-222.el7

Dependency Installed:
  nss-softokn-freebl.i686 0:3.34.0-2.el7

This knowledgebase solution seems to say that you need glibc-common.x86_64 to be the same version as the glibc packages.

I have:

# rpm -qa | grep glibc | sort

Check you are properly subscribed to RHSM.

That file you're missing is from the glibc.i686 package:

# rpm -qf /lib/

I believe this may be wrong thread but I could not help but to ask. What is the 32 bit glibc package name for RHEL 8.0? Uncle Google is failing me too.

It should be glibc-2.28-42.el8_0.1.i686 as of Nov 1, 2019.