Error while loading shared libraries:/usr/lib64/libc. so.6: Invalid elf Header

Source: Internet
Author: User

Prompt libc when installing a program. so.6 is too old, but check libc. so is the latest version, so try to use the soft link ln-S/usr/lib64/libc. so/usr/lib64/libc. so.6. The tragedy happened!

Almost all Linux commands depend on libc. So. libc. so.6 is a dynamic link library file and a shared function library of gnu c library. Soft links to different versions can work.

Google once found that many people entered the Linux rescue emergency mode to replace and copy files. Okay, so did my brother.

So I continued to Google and accidentally found that some people used the/sbin/SLN command, and found that there was only one libc. so.6 IN THE/lib64/directory, so

/Sbin/SLN/lib64/libc. so.6/usr/lib64/libc. so.6 redirect the soft link to libc. so.6. The problem is solved.

Error while loading shared libraries:/usr/lib64/libc. so.6: Invalid elf Header

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.