Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I was trying to install new software into my redhat 7.2 and accidently
linked the bad library for the /lib/i686/libc.so.6.
Now, I cannot run any commands such rm, ls, ll, vi, ln,
etc...Here is the error when I try to issue a command
such as rm:
rm: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not
found (required by /lib/i686/libc.so.6)
The problem is /lib/i686/libc.so.6 is linked to
/lib/i686/libc-2.3.2.so which is not correct. I would
like to re-link /lib/i686/libc.so.6 back to its
original (/lib/i686/libc-2.2.4.so). How can I do this
since I cannot run a command such as rm and ln?
You could try setting LD_LIBRARY_PATH to a location containing only the correct entries if you can. If not, then I suggest you restart the system with a rescue CD and fix the problem from there.
Unfortunately, my copies of the red 7.2 CDs set got scatched and doesn't boot up. My system is currently down...any suggestion where can I get these CDs set? I don't mind paying for them.
My friend has the redhat 9 CDs...will this work? Too many important stuffs in my system, I don't want to risk anything. Please help!! Thanks in advance.
do you have your /home dir on a seperate partition?
If you do, you could install a more recent distro and just tell it not to format the /home partition.
You will need to go through your home dir though, and any other users on /home, removing out-dated config files.
There is also a chance that something like FC4 will pick up on the fact that it's a redhat distro, and do it as an upgrade, not a fresh install, which means that you get to keep all the data in your /home dir.
Seriously though, you need to upgrade quite severely. RH 7.2 uses a very old set-up , and you will find things have changed quite a lot.
But it also begs one important question:
What hardware are you using?
If it's an old Pentium one for example, it might struggle to run the newer distros as the graphical environments can be memory and CPU cycle hungry.
Hope this guided you in the right direction.
I managed to get my hand on the redhat 7.2 CDs set. Run the
linux rescue and fixed my error. Everything is back to normal now...
lession learn, never play around with the lib libraries unless you know exactly
what you're doing. Thanks for all your help...
I still think you ought to think about about doing a serious upgrade. Back up your vital data and get yourself a more recent distro. RH 7.2 is from 1999!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.