"Problem" CentOS6.5 system "libc.so.6:version ' glibc_2.15 ' not found" workaround

Source: Internet
Author: User

The "Libc.so.6:version ' glibc_2.15 ' not found" issue occurs because the GLIBC version is too low to upgrade GLIBC.

Because the CentOS system RPM source is currently glibc the highest version is 2.12, it can only be used to upgrade the source code

First, check the system glibc supported version

Strings/lib64/libc.so. 6 | grep GLIBC
#查看当前glibc版本

Libc-2.12.so

Second, download glibc source package

cd/usr/src/wget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-2.15.tar.gzwget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-ports-2.15.tar.gz #glibc插件

Third, decompression installation upgrade glibc

TarZXVF glibc-2.15.Tar. GZTarZXVF glibc-ports-2.15.Tar. GZMVglibc-ports-2.15glibc-2.15/PortsmkdirBUILDCD Build :/glibc-2.15/configure--prefix=/usr--disable-profile--enable-add-ons--with-headers=/usr/include--with-binutils=/usr/bin Make-J4 Make Install

Iv. Verification

View supported versions of the current system glibc

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

View current GLIBC version

Ll/lib64/libc.so. 6  1 root root/lib64/libc.so. 6 libc-2.15.so

V. Accidental deletion of libc.so.6 solutions

The command line executes as follows:

#LD_PRELOAD =/lib/libc-2.12ln -s/lib/libc-2.12. So lib/libc.so. 6

"Problem" CentOS6.5 system "libc.so.6:version ' glibc_2.15 ' not found" workaround

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.