LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2007, 06:06 PM   #1
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Rep: Reputation: 15
bad ELF interpreter


Hello!

One day When I try ls on redhat 9, it has following error:

-bash: /bin/ls: /lib/ld-linux.so.1: bad ELF interpreter: No such file or directory

in /lib has ld-2.3.2 and ld-linux.so.2, but no ld-linux.so.1 (can not use ls)

So I link ld-linux.so.1 to /lib/ld-2.3.2 then has folloing error:

ls: error while loading shared libraries: libc.so.5: cannot open shared object file: No such file or directory

Any help? Thank you very much.
 
Old 05-07-2007, 07:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Looks to me like you installed a newer version of some
system libs w/o upgrading the whole system. Good luck
with reverting (or completing the upgrade, whichever it
will be).


Cheers,
Tink
 
Old 05-07-2007, 07:04 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
You probably upgraded glibc, and now those executables linked to the older libc won’t work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error:bad ELF interpreter : No such file or directory vicky_me Red Hat 1 03-21-2007 05:29 AM
Help! ELF Interpreter problem emperor_black *BSD 4 12-22-2006 05:05 PM
bad ELF interpreter kirtimaan_bkn Linux - Newbie 13 07-04-2006 11:11 PM
bad interpreter???? yenonn Programming 4 09-25-2004 05:21 AM
bad interpreter penzilsinc Linux - Newbie 5 06-26-2002 01:51 PM


All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration