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) packages for AlmaLinux, ALT Linux, Amazon Linux, CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux
🌐
Pkgs.org
pkgs.org › download › libc.so.6(GLIBC_2.14)
Libc.so.6(GLIBC_2.14) Download for Linux (rpm)
Download libc.so.6(GLIBC_2.14) packages for AlmaLinux, CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux
🌐
Linux From Scratch
linuxfromscratch.org › patches › downloads › glibc
Index of /patches/downloads/glibc
glibc-2.14-cpuid-1.patch · glibc-2.14-fixes-1.patch · glibc-2.14-fixes-2.patch · glibc-2.14-gcc_fix-1.patch · glibc-2.14.1-cpuid-1.patch · glibc-2.14.1-fixes-1.patch · glibc-2.14.1-gcc_fix-1.patch · glibc-2.14.1-sort-1.patch · glibc-2.15-fixes-1.patch ·
🌐
Red Hat
access.redhat.com › solutions › 4881711
Installing GNU GLIBC_2.14 in RHEL 6 - Red Hat Customer Portal
How to install GLIBC_2.14 in RHEL · A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more
🌐
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 ...
🌐
Vim
ftp.vim.org › ftp › gnu › glibc
ftp/gnu/glibc - FTP archive directory / - Vim
The large public mirror server for open source projects hosted by NLUUG and Surfnet /ftp/gnu/glibc/
Find elsewhere
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource libc.so.6(GLIBC_2.14)
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 ...
🌐
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.
🌐
GitHub
github.com › PakCyberPyrates › glibc-2-14
GitHub - PakCyberPyrates/glibc-2-14
If nothing happens, download Xcode and try again. Your codespace will open once ready. There was a problem preparing your codespace, please try again. 2 commits · Permalink · Failed to load latest commit information. Type · Name · Latest commit message · Commit time · README.md · View code · 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 ·
Author   PakCyberPyrates
🌐
Stack Exchange
unix.stackexchange.com › questions › 622679 › lib64-libc-so-6-version-glibc-2-14-not-found-in-redhat-6-5-for-running-a-so
command line - /lib64/libc.so.6: version 'GLIBC_2.14' not found in Redhat 6.5, for running a software in non-desktop version of Linux - Unix & Linux Stack Exchange
December 3, 2020 - Can anyone please suggest the steps of where and what to download and install, so that I can run my simulation models. Thanks in advance ... The solution is for CentOS but will for on RHEL too. Btw. your RHEL machine is not subscribed so installing/updating using yum won't work (but glibc 2.14 is not available anyway).
🌐
openSUSE Forums
forums.opensuse.org › english › applications
libc.so(GLIBC_2.14)(64bit) - Applications
July 3, 2014 - From the first time that i tryed suse on the 64bit version i have a conflict problem,after i install a few applications Yast, zypper and so on they are asking for the “libc.so(GLIBC_2.14)(64bit)”,does anybody know where to find it and install it Any help its welcomed
🌐
Narkive
rhelv6-list.redhat.narkive.com › 9hUb42qj › how-do-i-install-glibc-2-14-on-rhel6
[rhelv6-list] How do I install glibc_2.14 on rhel6?
Post by Mirko Vukovic I want to install sbcl (steel bank common lisp). However sbcl requires glibc_2.14. If sbcl really needs glibc 2.14 ( which I doubt ), you cannot use it in RHEL 6 unless you create a chroot where you install both sbcl and a newer glibc. I am not familiar with details of chroot (other than what I read this mornign on google).
🌐
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 - ./libnss3.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libnss3.so) Red Hat Enterprise Linux (RHEL) 6.x · A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more. Log in for full access Log In · Learn more about Red Hat subscriptions · How to access this content · LinkedIn · YouTube · Facebook · X, formerly Twitter · Downloads ·
🌐
Pkgs.org
pkgs.org › download › glibc
Glibc Download for Linux (apk eopkg rpm txz xbps xz zst)
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
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"
🌐
Pkgs.org
pkgs.org › download › glibc-devel
Glibc-devel Download for Linux (eopkg rpm xbps)
Download glibc-devel linux packages for AlmaLinux, ALT Linux, Amazon Linux, CentOS, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux, Solus, Void Linux · Filter: Distros: all Arches: arm intel Types: official thirdparty ... glibc-devel 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