[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to fix ldso? Urgent.



> My box has both libc5 and libc6 installed.  I just made a mistake and 
> downgraded ldso_1.9.2-2 to ldso_1.8.10-2.1.  Now I don't seem to be able 
> to run any commands - certainly not dpkg at any rate.  So I am between a 
> rock and a hard place, as the saying goes.
> 
> I have another two debian boxes here so I can access ldso_1.9.2-3 and I 
> can run a rescue disk, but I don't know how to fix it by hand.  Once I 
> reboot I lose my net connection until it is fixed, so I would appreciate 
> some expert help.

I've been in this situation too, and now (months aferwords) I realise that
probably the way to fix this is by typing:

cd /lib
echo ld*

Now you will see a list of ld* files. On my (working) system, I have
/lib# ls ld*
ld-2.0.4.so*        ld-linux.so.1.9.2*  ld.so*
ld-linux.so.1@      ld-linux.so.2@

I believe you will mis at least two symlinks here, but I'm not sure
which ones any more.

Then, type

  /lib# cat ld-linux.so.1.9.2 > ld-linux.so.1
or
  /lib# cat ld-2.0.4.so       > ld-linux.so.2

(replacing ld-linux.so.1 or ld-linux.so.2  by whatever links
you are missing, possibly ld.so).

After that, I *think* you've got a wroking system again.

Please, Please, tell me if this worked!


-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: