/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory

Source: Internet
Author: User

Resolve this type of failure

-bash:/usr/sbin/ntpdate:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory

[Email protected] ~]#/usr/sbin/ntpdate time.dnion.com

-bash:/usr/sbin/ntpdate:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory

Yum encountered a problem when installing the Yum problem

[email protected] ~]# Yum install glibc.i686

Loaded plugins:aliases, Changelog, Downloadonly, Fastestmirror, Kabi, Presto, Security, Tmprepo, verify, Versionlock

Loading support for CentOS kernel ABI

Loading mirror speeds from cached hostfile

* base:centos.ustc.edu.cn

* extras:centos.ustc.edu.cn

* updates:centos.ustc.edu.cn

Http://centos.ustc.edu.cn/centos/6.6/os/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR 6-"couldn ' t resolve host ' Centos.ustc.edu.cn ' "

Trying other mirror.

Http://ftp.sjtu.edu.cn/centos/6.6/os/x86_64/repodata/repomd.xml: [Errno] Pycurl ERROR-"The requested URL Returned error:404 "

Trying other mirror.

^c^c^c

Current download cancelled, interrupt (CTRL-C) again within-seconds

To exit.



Modify Yum Source

[Email protected] ~]# cd/etc/yum.repos.d/

[Email protected] yum.repos.d]# wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo

--2015-11-10 11:32:28--Http://mirrors.163.com/.help/CentOS6-Base-163.repo

[Email protected] yum.repos.d]# MV Centos-base.repo Centos-base.repo.bak

[Email protected] yum.repos.d]# MV Centos6-base-163.repo Centos-base.repo

[email protected] yum.repos.d]# Yum Clean all

Install glibc.i686 to solve the original problem

[email protected] yum.repos.d]# Yum install glibc.i686

[Email protected] yum.repos.d]#/usr/sbin/ntpdate time.dnion.com

11:42:15 ntpdate[16542]: Step time server 122.11.48.161 offset 126.030375 sec


/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory

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.