[ale] Repair Problems
Joe Steele
joe at madewell.com
Mon Feb 25 15:18:48 EST 2002
Your 'rpm -V' results are telling you that the link for
/lib/ld-linux.so.2 has been altered. You now have it linked to
/lib/lib.so (which seems like a strange library name to me).
Instead, it should be linked to /lib/ld-2.2.4.so. This should fix it:
cd /lib
ln -s ld-2.2.4.so ld-linux.so.2
If you type 'nm /lib/ld-2.2.4.so', you will see that it is the source
for the symbol _dl_cpuclock_offset.
--Joe
-----Original Message-----
From: John Mills [SMTP:jmmills at telocity.com]
Sent: Monday, February 25, 2002 1:05 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] Repair Problems
ALErs -
I would appreciate some help fixing problems I've introduced into a RH-7.2
installation.
History: in trying to set up parallel libs and ld to support 'libc5'
utilities, I seem to have trashed /lib/libg-2.2.4.so and/or some related
files.
When I try to start 'vi', I get:
************************************************************************
vim: relocation error: /lib/i686/libpthread.so.0: undefined symbol:
_dl_cpuclock_offset
Searching:
# ldd /lib/i686/libpthread.so.0
libc.so.6 => /lib/i686/libc.so.6 (0x4002c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# ls -l /lib/ld* /lib/lib.*
-rwxr-xr-x 1 root root 464161 Dec 8 09:04 /lib/ld-2.2.4.so
lrwxrwxrwx 1 root root 6 Feb 25 12:50 /lib/ld-linux.so.2 ->
lib.so
-rwxr-xr-x 1 root root 646161 Feb 15 17:18 /lib/lib.so
# rpm -V glibc-2.2.4-19.3
...L... /lib/ld-linux.so.2
************************************************************************
Dates and times are probably not representative of the original setup, due
to my messing around trying to fix things.
>>Bottom line:<<
How can I get back a working setup? Is there an 'rpm' option that says:
"Put it back together the way it was when it was installed!"
Thanks.
- John Mills
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list