Linux Upgrade glibc

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.