Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade glibc dynamic Library in centos 6.9

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to upgrade the glibc dynamic library in centos 6.9. the content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

1. First, check the system version and Glibc version

Execute the command to view the glibc version

Strings / lib64/libc.so.6 | grep GLIBC_

The results are as follows:

From the above information, we can see that the system is CentOS 6.9, and the version of glibc is 2.12 for stability in centos and redhat systems, but now it is version 2.30. To be on the safe side, I decided to upgrade it to version 2.17.

2. Download the software and upgrade

Wget http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz tar-xvf glibc-2.17.tar.gz mkdir glibc-2.17/buildcd glibc-2.17/build.. / configure-- prefix=/usr-- disable-profile-- enable-add-ons-- with-headers=/usr/include-- with-binutils=/usr/binmake-j4make install

Description:

1. The-j4 after make increases the compilation speed for multicore cpu, and the number 4 is twice as fast as the cpu core (up to twice the cpu core).

2.-- the path after prefix must be / usr. If you change it to something else, it may lead to failure.

After the installation is complete, the final output

This sentence in the red box can basically be confirmed to be a successful upgrade! O (∩ _ ∩) O ~

3. Testing

Execution

Ldd-version

Or execute

Strings / lib64/libc.so.6 | grep GLIBC_

The above is how to upgrade the glibc dynamic library in centos 6.9. have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report