This often occurs when you build software in RHEL 7 and try to run on RHEL 6.

To update GLIBC to any version, simply download the package from

https://ftp.gnu.org/gnu/libc/

For example glibc-2.14.tar.gz in your case.

1. tar xvfz glibc-2.14.tar.gz
2. cd glibc-2.14
3. mkdir build
4. cd build
5. ../configure --prefix=/opt/glibc-2.14
6. make
7. sudo make install
8. export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH

Then try to run your software, glibc-2.14 should be linked.

Answer from Yu Tao on Stack Overflow
🌐
Pkgs.org
pkgs.org › download › libc.so.6(GLIBC_2.14)(64bit)
Libc.so.6(GLIBC_2.14)(64bit) Download for Linux (rpm)
Download libc.so.6(GLIBC_2.14)(64bit) linux packages for AlmaLinux, ALT Linux, Amazon Linux, CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux · libc.so.6(GLIBC_2.14)(64bit) latest versions: 2.35.9000, 2.35.0.6.491f2e, 2.35, 2.34, 2.33, 2.32, 2.31, 2.28, 2.27, 2.26, 2.25, 2.17
🌐
Sada Tech
tech.sadaalomma.com › rpm › glibc-2-14-centos-6-rpm
Glibc 2.14 Centos 6 Rpm - SADA Tech
April 5, 2024 - Download and install the GNU C Library (glibc) version 2.14 RPM package for CentOS 6 systems.
Discussions

dependencies - RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'? - Stack Overflow
I need these 2 packages installed on RHEL 6 linux system. They are required by several other programs. When I do: sudo yum install glibc-devel this is output: Loaded plugins: product-id, security More on stackoverflow.com
🌐 stackoverflow.com
upgrade - How to update glibc to 2.14 in CentOS 6.5 - Unix & Linux Stack Exchange
I want to install Android NDK on my CentOS 6.5 machine. But when I ran the program, it says it needs glibc 2.14 to be able to run. My CentOS 6.5 only has Glibc 2.12 installed. So I tried to update ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
December 29, 2014
Upgrade to GLIBC 2.14 on CentOS 6
Short answer is, you don't. Is there are particular reason why you need 2.14? If you're creating software for CentOS 6, you will have to target 2.12. More on reddit.com
🌐 r/sysadmin
12
2
May 2, 2017
CentOS 6 - Update GLIBC (libc.so.6)
Find answers to CentOS 6 - Update GLIBC (libc.so.6) from the expert community at Experts Exchange More on experts-exchange.com
🌐 experts-exchange.com
March 24, 2012
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource libc.so.6(GLIBC_2.14)(64bit)
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet · The System and Arch are optional added filters, for example ...
🌐
The Linux Cluster
thelinuxcluster.com › 2016 › 12 › 19 › compiling-glibc-2-14-on-centos-6
Compiling glibc-2.14 on CentOS 6 – The Linux Cluster
December 20, 2016 - Step 1: Download glibc-2.14 from GNU Site · # wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz · Step 2: Untar and Preparation · # tar zxvf glibc-2.14.tar.gz # cd glibc-2.14 # mkdir build # cd build · Step 3: Compile and install · # ...
🌐
Imperx
imperx.com › wp-content › uploads › Member › Cameras › Bobcat_Gen2 › GEV Linux › Workaround_to_install_GLIBC_2.14_to_CentOS_6.7.pdf pdf
Workaround to install GLIBC 2.14 to CentOS 6.7
Celebrating IMPERX’s 25th year as a company dedicated to innovation and the future of industrial imaging. Established in 2001, the IMPERX team has strived to offer the highest quality, ruggedized UV, infrared, and polarizing cameras for industrial applications.
Find elsewhere
🌐
Reddit
reddit.com › r/sysadmin › upgrade to glibc 2.14 on centos 6
r/sysadmin on Reddit: Upgrade to GLIBC 2.14 on CentOS 6
May 2, 2017 -

How can I do do this? I am currently running 2.12. Thanks in advance.

🌐
Pkgs.org
pkgs.org › download › glibc-common
Glibc-common Download for Linux (rpm)
Download glibc-common linux packages for AlmaLinux, Amazon Linux, CentOS, Fedora, Rocky Linux
🌐
GitHub
gist.github.com › rayyee › c2ff2ca27104157d30cfec4fccf818af
upgrade-glibc2-14-on-centos6.md · GitHub
ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.x86_64.rpm ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/15/x86_64/glibc-common-2.14.1-6.x86_64.rpm ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/15/x86_64/glibc-devel-2.14.1-6.x86_64.rpm ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/15/x86_64/glibc-headers-2.14.1-6.x86_64.rpm ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/15/x86_64/nscd-2.14.1-6.x86_64.rpm
🌐
Serverkurma
serverkurma.com › linux › how-to-update-glibc-newer-version-on-centos-6-x
How to Update glibc Newer Version on Centos 6.x – ServerKurma – Bilişim Hizmetleri
February 6, 2018 - We need GLIBC_2.17 version for our centos 6.x so we will use ftp. mkdir ~/glibc-install; cd ~/glibc-install wget http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz tar -zxvf glibc-2.17.tar.gz · After Download and extract all source files we need to create a build folder.
🌐
Pkgs.org
pkgs.org › download › glibc(x86-64)
Glibc(x86-64) Download for Linux (rpm)
Download glibc(x86-64) linux packages for AlmaLinux, Amazon Linux, CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux
🌐
Experts Exchange
experts-exchange.com › questions › 27646896 › CentOS-6-Update-GLIBC-libc-so-6.html
Solved: CentOS 6 - Update GLIBC (libc.so.6) | Experts Exchange
March 24, 2012 - Try yum -Uvh --nosignature ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm..
🌐
Pkgs.org
pkgs.org › download › glibc
Glibc Download for Linux (apk bottle eopkg rpm txz xbps xz ...
Download glibc linux packages for AlmaLinux, ALT Linux, Amazon Linux, Arch Linux, CentOS, Fedora, KaOS, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux, Slackware, Solus, Void Linux · Filter: Distros: all Arches: arm intel Types: official thirdparty ... glibc latest versions: 2.35.9000, 2.35.0.6.491f2e, 2.35, 2.34, 2.33.r681.g642213e043, 2.33, 2.32, 2.31, 2.28, 2.27, 2.26, 2.25, 2.23, 2.17 · glibc architectures: aarch64, i586, i686, ppc64le, s390x, x86_64 · glibc linux packages: eopkg, rpm, txz, xbps, xz, zst
🌐
GitHub
gist.github.com › harv › f86690fcad94f655906ee9e37c85b174
update glibc to 2.17 for CentOS 6 · GitHub
Spent so many hours troubleshooting ... limit of glibc-2.12. And now it works. Much appreciated. ... This works. Thanks a lot. ... Work Perfect! ... Works great on CentOS release 6.10 (Final) . ... It works, thanks ! ... Hello, From the current version, 3.4.13 - I need to install 3.4.14 & 3.4.15 versions. but am getting below error when I update the package - libstdc++-4.8.5-44.el7.x86_64.rpm...
🌐
Red Hat
access.redhat.com › solutions › 755003
Is there any support for glibc 2.14 in RHEL 6? - Red Hat Customer Portal
August 5, 2024 - Is there any support for glibc 2.14? A dynamic library, libnss3.so, is required for an application; however, this appears to be built against version 2.14 of glibc, as the following message is seen: ./libnss3.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libnss3.so)
Top answer
1 of 4
91

You cannot update glibc on Centos 6 safely. However you can install 2.14 alongside 2.12 easily, then use it to compile projects etc. Here is how:

mkdir ~/glibc_install; cd ~/glibc_install
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
tar zxvf glibc-2.14.tar.gz
cd glibc-2.14
mkdir build
cd build
../configure --prefix=/opt/glibc-2.14
make -j4
sudo make install
export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
2 of 4
14

I found this source very useful and doesn't has much SEO. It lists the most common errors you might encounter while using @UnitasBrooks great answer and I'm afraid it gets lost in the future.

This is the link to the original post

I will copy, paste it here (I faced the last problem and it fixed it, however I didn't try all the problems/solutions listed and you try it on your own risk)


Glibc installation

The GNU C Library, commonly known as glibc, is the GNU Project's implementation of the C standard library. My environment required glibc (version 2.14) and it took a bit of fiddling to get it to work, so hopefully this will save you some time.

0.Glibc Installation Dependencies

Bash: sh
Binutils: ar, as, ld, ranlib, readelf
Diffutils: cmp
Fileutils: chmod, cp, install, ln, mknod, mv, mkdir, rm, touch
Gcc: cc, cc1, collect2, cpp, gcc
Grep: egrep, grep
Gzip: gzip
Make: make
Gawk: gawk
Sed: sed
Sh-utils: date, expr, hostname, pwd, uname
Texinfo: install-info, makeinfo
Textutils: cat, cut, sort, tr

1.Download installation package

http://www.gnu.org/software/libc/ for all versions.
http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz for version 2.14.

2.Compile and install

To avoid disturb current environment, compile and install this version separately by configuring prefix.

[root@localhost ~]# tar xvf glibc-2.14.tar.gz
[root@localhost ~]# cd glibc-2.14
[root@localhost glibc-2.14]# mkdir build
[root@localhost glibc-2.14]# cd ./build
[root@localhost build]# ../configure --prefix=/opt/glibc-2.14
[root@localhost build]# make -j4
[root@localhost build]# make install
[root@localhost build]# export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH

3.To check glibc versions installed

root@localhost:~/intel64/runtime/glibc$ strings libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_PRIVATE

4.Compiling errors

Error:

make[1]: *** No rule to make target /mnt/lfs/sourcenew/glibc-build/Versions.all', needed by/mnt/lfs/sourcenew/glibc-build/abi-versions.h'. Stop.

Solution:

sudo apt-get install gawk
sudo apt-get install texinfo

Error:

make[2]: *** [/mnt/lfs/sources/glibc-build/misc/syslog.o] Error 1

Solution:

make clean
make -j2 CFLAGS="-U_FORTIFY_SOURCE -O2 -fno-stack-protector"

Error:

/Downloads/glibc-2.14/build/elf/ldconfig: Can't open configuration file /opt/glibc-2.14/etc/ld.so.conf: No such file or directory

Solution:

:/opt/glibc-2.14/etc$ sudo sh -c "echo '/usr/local/lib' >> ld.so.conf" 
:/opt/glibc-2.14/etc$ sudo sh -c "echo '/opt/lib' >> ld.so.conf"
🌐
Remi's RPM Repository
rpms.remirepo.net › rpmphp › zoom.php
Packages in Fedora / RHEL / CentOS / EPEL - Package: glibc
Show more informations from pkgdb · The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is not responsible for content