This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why does $LIB not work on Ubuntu?


On 4 Aug 2011, Adam Kellas uttered the following:

> However, this fact may at least partly explain what the Ubuntu people
> were thinking. Since /lib64 is a link to /lib and /lib is filled with
> 64-bit libraries, that seems pretty clearly a statement that  32-bit
> binaries will never run on this build.

Nope. Debian and Ubuntu (pre-multiarch) have 32-bit libraries in /lib32,
and 32-bit binaries linked againmt them can exist in /bin. /lib being
64-bit is not a statement that 32-bit binaries will never run, but
rather a statement that 64-bit is the native word size of this
architecture, and that *most* libraries and binaries will be 64-bit.
This does not preclude the existence of *some* 32-bit binaries.

> None of this makes sense to me - I don't see why Ubuntu needed to turn
> off the $LIB feature

It's obscure enough that it's quite possible nobody remembered it
existed. I just checked, and it's not in use anywhere on my system at
all.

> I don't know why they'd choose a structure which makes multilib setups
> impossible.

They didn't. I have a working multilib setup using exactly the same
layout as pre-multiarch Ubuntu.

-- 
NULL && (void)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]