First, Introduction
GLIBC is the GNU published LIBC library, the C runtime library. GLIBC is the lowest-level API in a Linux system, and almost any other runtime relies on glibc. GLIBC In addition to encapsulating the system services provided by the Linux operating system, it also provides many other necessary functions for the implementation of the service ...
This article describes the GLIBC upgrade method, reference: http://www.cppblog.com/prayer/archive/2009/07/22/90836.html
Second, upgrade
The steps are as follows:
wgethttp//ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gzwgethttp//ftp.gnu.org/gnu/glibc/glibc-ports-2.15.tar.gzTar-XVF glibc-2.15.Tar. GZTar-XVF glibc-ports-2.15.Tar. GZMVglibc-ports-2.15glibc-2.15/Portsmkdirglibc-build-2.15CD glibc-build-2.15../glibc-2.15/configure--prefix=/usr--disable-profile--enable-add-ons--with-headers=/usr/include--with-binutils=/usr/binMake & make install
Make is successful after the build directory is compiled with a new libc.so.6 (/glibc-build-2.15/libc.so.6, we will find that this is actually also a soft connection, real lib file when libc.so
CD glibc-build-2.15
ll libc.so. 6
Viewing the library file, you can see that 2.12 of the old library files are still in the 2.15 version of the library file, and the soft link files all point to the 2.15 version
ll/lib64/libc*
At this point, view the version supported by glibc
grep GLIBC
Linux Upgrade glibc