Is there a GLIBC version that includes glibc 2.0 and 2.17?

I am using RHEL 6.5. For some dependency issues, I need GLIBC 2.17. I successfully upgraded to 2.17 but the earlier versions like 2.0 are now gone and I need them too. Is there any version that would have both? Or a way to use two glibc versions together?

Below is the exact error I get with GLIBC 2.17. The error I received earlier was how 2.17 is missing. (Don't have an image of it to share right now)

[root@Marium ~]# rpm -hiv compat-libstdc++-33-3.2.3-72.el7.i686.rpm warning: compat-libstdc++-33-3.2.3-72.el7.i686.rpm: Header V3 RSA/SHA256 >Signature, key ID f4a80eb5: NOKEY error: Failed dependencies: libc.so.6 is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libc.so.6(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libc.so.6(GLIBC_2.1) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libc.so.6(GLIBC_2.1.3) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libc.so.6(GLIBC_2.2) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libc.so.6(GLIBC_2.3) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libgcc_s.so.1 is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libgcc_s.so.1(GCC_3.0) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libgcc_s.so.1(GCC_3.3) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libgcc_s.so.1(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-72.el7.i686 libm.so.6 is needed by compat-libstdc++-33-3.2.3-72.el7.i686


Solution 1:

The package you're using is for RHEL 7 and it almost certainly isn't going to work on RHEL 6. Unlike other distros such as Debian, where mixing packages between versions can sometimes work, that isn't the case for RHEL or CentOS, and things such as dependencies can change across versions incompatibly.

It's possible that you may be able to use a RHEL or CentOS 6 package that provides the same functionality, or you may need to upgrade your OS.

Additionally, RHEL 6.5 no longer receives security support, so it should not be used in a context where it is connected directly or indirectly to the Internet, since that permits it to be compromised and be a threat to other systems.