Hi all, I have been dealing with a bug in openrc which prompted me to look at our directory structure for libraries on 64 bit systems. The bug will be referenced below[1]. The problem in the bug isn't the location of libraries, but the fact that there is a mount point stored under the library directories.
Here is what I've found in fhs [2].
- /lib should always exist on all architectures.
- /lib64 should only exist on amd64, ppc64, sparc64 and s390x. It
should hold 64 bit libraries, and /lib should hold 32 bit (or 31 bit
on s390x) libraries.
- /lib should hold 64 bit libraries on ia64.
- FHS mentions /lib32 but doesn't really define what goes in it, and with
the definition of when /lib64 is to be used, there doesn't seem to be a
need for /lib32.
- Also, it seems questionable that /lib is a symlink to /lib64 on
non-multilib systems. I think we should still have separate /lib and
/lib64 directories.
Constructive criticism of this idea, thoughts, etc, are welcome.
If there is no opposition, what would it take for us to do this?
Thanks,
William
[1] http://bugs.gentoo.org/show_bug.cgi?id=381783
[2] http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64
pgppBPvTEVFfi.pgp
Description: PGP signature
