Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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 !!
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.