LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-23-2006, 04:00 AM   #1
rooksin
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
ld-linux.so.2


dear users,
i have done a grave mistake..i had renamed ld-linux.so.2 in the /lib directory in order to check a compiler on my system. i forgot that su requires this file for its own execution. now, i'm unable to rename it back to ld-linux.so.2. does entering single user mode help me with this? am scared to reboot the comp.
any suggestions?

thanks in advance.
kota.
 
Old 06-23-2006, 04:10 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
entering single user mode would still require the library loader to link the libraries, you did not specify what distro, but if it had a cli installer or a rescue mode you could boot into that, chroot your / partition, and rename it back, or if you have a live cd laying around boot into that mount your partition and rename it
 
Old 06-23-2006, 04:11 AM   #3
rooksin
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Original Poster
Rep: Reputation: 0
ld-linux.so.2 info

dear users..
i would like to know the use of the file ld-linux.so.2
can somebody be patient enough to direct me to some info on this file? as in, how the file works and what it is used for !!

thanks in advance
kota.
 
Old 06-23-2006, 05:24 AM   #4
etienne.navarro
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
the file ld-linux.so.2 is normally the dynamic linker, often referred to as dynamic loader. This is usually provided by glibc to find and load shared libraries required by a program to run and then loads it.
This file might also be called ld.so.1 on older systems.
this is a different program than the standard linker ld.
A .so file stands for "shared object" which helps to remember.

if you type ldd program_name, the libraries required by that program will be listed, ld-linux.so.2 will probably be one of them
 
Old 06-26-2006, 07:22 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I merged your two similar threads together.
 
  


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
I need some info about linux xedios Linux - Software 9 07-30-2004 05:17 PM
i need info on linux!! tangy Linux - Newbie 29 11-22-2003 08:17 AM
Linux Info terdmonkey18 General 22 10-05-2003 01:51 PM
info on linux completely_new Linux - Newbie 5 07-17-2003 06:02 PM
Need info from Linux kernel GoboFraggle Programming 2 01-20-2003 01:59 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration