Oh, I killed myself

Fritz Ganter (ganter@fvkma.tu-graz.ac.at)
Thu, 28 Nov 1996 10:32:03 +0100 (MET)


Yesterday I decided to put a newer glibc snapshot on my Alpha. I did a
cd /
tar -xvzf thisnewglibcthink.tar.gz

Then I tried to compile a program which uses libm, but got the same
MOB,MIB,MUG (I don't remember, but you know what I mean) undefined error
on linking. Then I looked for libm in /lib. I saw that the link of
libm.so.6 points to the older libm.so.6.?, not to the new file. The same
with all links in /lib.
YES, YES, I did ldconfig. I did ldconfig 100 times, I doesn't change
anything. Then I deleted all links in /lib and did ldconfig -v again. Now
all worked like expected, the links where right, and linking of the
program was ok.

Now, I thought by myself, now I should do the same in /usr/lib. I deleted
all links which ended with so*, did a ldconfig. Then most commands ended
in a "cannot load shared lib" error. Perhaps the same was already on my
ldconfig call. From now on, my system was unusable, I couldn't even login
or do anythink, only cd or ls.
Ok, I started to boot into RedHat 4.0 install and wanted to do a upgrade
or a little install to get the /usr/lib back, but in install I can select
the packages, but when installation starts, I got the "cannot load shared
lib" error.
I think I have to reformat / and install everything new. Not too bad, I
really like a clean new system.
But what is the right way to upgrade glibc? I thought ldconfig always use
the highest minor number. Is there a flag to overwrite old links? Of
course there is no manpage.

Please give me a commend about it, I will wait until afternoon(european
time) before I will format the root partition. (I hope you guys are
looking in the mailfolder before eating breakfast, as I use to do ;-) ).

Fritz "who dances with the Linux" Ganter. ganter@fvkma.tu-graz.ac.at
WWW: http://fvkma.tu-graz.ac.at/ganter ganter@quant-x.com
EDV-Consulting F.Ganter Grazerstr. 26a,A-8045 Graz support@quant-x.com
Member of the Quant-X Group: Alpha based Systems running Linux

To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices