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

Bug#632682: base-files: please provide a /lib64 -> /lib symlink on 64-bit systems



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
 3) ln -s lib64.real /lib64.eglibc-tmp
 4) mv -f /lib64.eglibc-tmp /lib64
 5) clean up on next reboot



Reply to: