[ogg-dev] lib64

ogg.k.ogg.k at googlemail.com
Wed, 09 Jul 2008 11:33:37 -0000

> On x86_64, you can either install a 32 or a 64 bit base system.
>
> If you install a 32 bit base system, then 64 bit libs should be
> installed in /lib64, /usr/lib64 and so on.
> However, if you install a 64 bit base system, then the 32 bit
> libraries should be install in /lib32, /usr/lib32 and so on.

That makes more sense, I suppose, is this to allow code that's
broken on 64 bit platforms to still be used ?
Out of curiosity, how would you go about building a 32 bit lib
on a x86_64 bit system (or the other way round) ? Would you
have to cross compile ?

> In both cases, the native libs (ie native to the base install)
> are installed in /lib, /usr/lib and so on.

OK, thanks for the correction. It does make much more sense to
me that way.

> Automake/autoconf/libtool should just do "the right thing" by
> default.

Which they probably do - I'm running a 64 bit kernel, so that
explains the lib rather than lib64.

Thanks a lot.