LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ld-linux.so.2 info (https://www.linuxquestions.org/questions/linux-software-2/ld-linux-so-2-info-457500/)

rooksin 06-23-2006 04:00 AM

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.

__J 06-23-2006 04:10 AM

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

rooksin 06-23-2006 04:11 AM

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.

etienne.navarro 06-23-2006 05:24 AM

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

jtshaw 06-26-2006 07:22 AM

I merged your two similar threads together.


All times are GMT -5. The time now is 03:43 AM.