Re: How to fix ldso? Urgent.
> Hi Joost,
>
> Success!
>
> This is what I had to start with:-
> elm# cd /lib ; ll ld*
> -rwxr-xr-x 1 root root 161677 Jun 5 21:35 ld-2.0.4.so*
> -rwxr-xr-x 1 root root 22305 Jul 19 03:13 ld-linux.so.1.8.10*
> lrwxrwxrwx 1 root root 11 Jul 3 18:19 ld-linux.so.2 -> ld-2.0.4.so*
> -rwxr-xr-x 1 root root 20640 Mar 4 01:42 ld.so*
> -rwxr-xr-x 1 root root 103272 Jul 19 03:13 ld.so.1.8.10*
>
> I still had some functionality - the bash internals worked, mount and cp
You don't have bash as your shell, but something else (kiss or somethign):
rulcmc:~$ type mount
mount is /bin/mount
rulcmc:~$ type cp
cp is /bin/cp
i.e., mount and cp arn't bash internals. But cat is, so that's why I
suggested the use of "cat ..>".
But if you had "cp" available, I'm rather sure that just saying:
cd /lib
cp ld-linux.so.1.8.10 ld-linux.so.1
would have done the job too (care to try it out? :)
> Many thanks, Joost. I hope that I carried out the intent if not the
> letter of your suggestions. I owe you one.
Well, the intent was to save your system. So, yes you carried out
the intent. It's not quite the letter, and I still sortof wonder
wheter "cat" would have worked. At the time I had the problem, I didn't
think of using cat (and cp, mount, etc also were not available for me),
so I compiled my own statically linked version of cp, put it on a
NFS volume I happened to have mounted on a different computer, and
then used that static cp on my main computer to save it.
But later I realised that cat should just also save your system.
Anyway, I think about downgrading to ld.so-1.8 myself no, and try
the cat method (the only one available for people that use real
bash). If it works, I'll post a letter about that weekly to debian-user,
explaining future victims how to save their systems.
Thanks,
--
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: