On 2011-08-10 20:47 +0200, Jonathan Nieder wrote: > Sven Joachim wrote: > >> 1) remove /lib64 >> 2) create /lib64 directory >> 3) symlink $(readlink -e /lib/ld-linux-x86-64.so.2) to >> /lib64/ld-linux-x86-64.so.2 >> >> 2) and 3) are a bit difficult after the path to the ELF interpreter has >> just disappeared. I guess you still want to stick to shell nonetheless >> (as opposed to doing these steps in perl, say) ? > > I wonder if the following would make sense: > > 1) mkdir /lib64.real > 2) symlink $(readlink -e /lib/ld-linux-x86-64.so.2) to > /lib64.real/ld-linux-x64-64.so.2 ^^^^^
Should be -x86-, but otherwise this makes some sense to me. But with the following you've lost me: > 3) ln -s lib64.real /lib64.eglibc-tmp > 4) mv -f /lib64.eglibc-tmp /lib64 Now you have a broken lib/lib64.eglibc.tmp symlink which is not quite what you want. ;-) It would make more sense to use /lib64.eglibc-tmp/ as source, but this seems to fail with ENOTDIR. > 5) clean up on next reboot Not sure what you mean with that. Could you elaborate? Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org