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

Bug#632682: kfreebsd-amd64 and /lib64 -> lib symlink



On 2011-08-19 09:46 +0200, Petr Salinger wrote:

> I looked at just commited r4891, and it seems that it breaks
> kfreebsd-amd64 seriously.
>
> On kfreebsd-amd64, the ELF interpreter is
> "/lib/ld-kfreebsd-x86-64.so.1", i.e. it is really in /lib, not in
> /lib64.
>
> The "lib64 -> lib" symlinks in previous eglibc versions only have been
> as defence against broken packages shipping their libs in lib64.
>
> This part of libc.preinst seems to delete our ELF interpreter:
> remove_lib64_symlink() {
> ...
> rm -f /lib/$(basename RTLD_SO)
> }
>
> On kfreebsd-amd64 the "lib64 -> lib" symlinks are optional,
> but "/lib/ld-kfreebsd-x86-64.so.1" is not ;-)

Right.  I deliberately omitted kfreebsd-amd64 from the list of
architectures where this code is run, but vorlon silently added it.

Cheers,
       Sven



Reply to: