Skip to content
Advertisement

Redhat/CentOS – `GLIBC_2.18′ not found

I was trying to run redis server (on a CentOS server) with specific module:

JavaScript

and getting error:

JavaScript

this is the linux version:

JavaScript

Also this is what is showing for /lib64/libc.so.6:

JavaScript

Also:

JavaScript

Tried as well:

JavaScript

What is the process of installing/setting GLIBC_2.18 on Centos/Redhat servers?

Thanks..

Advertisement

Answer

You can upgrade to the Red Hat Enterprise Linux 8, which comes with glibc 2.28 and thus provides the GLIBC_2.18 symbol version (and much more).

If you do not want to upgrade, you need a Redis build for Red Hat Enterprise Linux 7. Red Hat provides a Software Collection with Redis 3.2 (available in the scl channels). There is also a CentOS build of Redis 3.2, again as a software collection. If that version is too old, you will have to build Redis from source. EPEL only contains Redis 3.2 as well.

Upgrading glibc within a current release in Red Hat Enterprise Linux (or CentOS) is not possible.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement