Centos upgrade glibc (to version 2.17)

Source: Internet
Author: User

Centos upgrade glibc (to version 2.17)

1. The previous glibc library version is 2.12 and must be upgraded to version 2.17.

:

http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz
You can select the desired version.

2. installation and deployment

[Root @ kafzook1 common] # tar-xf glibc-2.17.tar.gz [root @ kafzook1 common] # cd glibc-2.17 [root @ kafzook1 glibc-2.17] # mkdir build; cd build [root @ kafzook1 build] # .. /configure -- prefix =/usr -- disable-profile -- enable-add-ons -- with-headers =/usr/include -- with-binutils =/usr/bin [root @ kafzook1 build] # make-j 8 [root @ kafzook1 build] # make install [root @ kafzook1 common] # strings/lib64/libc. so.6 | grep GLIBC: the following result is displayed.

We can see that the glibc version after successful deployment is 2.17.

Summary:

During the above installation process, we may encounter the following problems:

Baidu once asked this question, saying that the variable is followed by a colon ":". Let's print this variable and check that there is indeed a colon. Others' blog address: glibc Problem Solution

Solution: Find the environment variable, remove the colon + $ LD_LIBRARY_PATH next to it, and click "source.

We can see that the colon is gone.

Then proceed with the installation steps.

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.