Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] fhs and multilib question
Date: Sun, 11 Sep 2011 16:51:21
Message-Id: 20110911165028.GA5172@linux1
1 Hi all,
2
3 I have been dealing with a bug in openrc which prompted me to look at
4 our directory structure for libraries on 64 bit systems. The bug will be
5 referenced below[1]. The problem in the bug isn't the location of
6 libraries, but the fact that there is a mount point stored under the
7 library directories.
8
9 Here is what I've found in fhs [2].
10
11 - /lib should always exist on all architectures.
12 - /lib64 should only exist on amd64, ppc64, sparc64 and s390x. It
13 should hold 64 bit libraries, and /lib should hold 32 bit (or 31 bit
14 on s390x) libraries.
15 - /lib should hold 64 bit libraries on ia64.
16 - FHS mentions /lib32 but doesn't really define what goes in it, and with
17 the definition of when /lib64 is to be used, there doesn't seem to be a
18 need for /lib32.
19 - Also, it seems questionable that /lib is a symlink to /lib64 on
20 non-multilib systems. I think we should still have separate /lib and
21 /lib64 directories.
22
23 Constructive criticism of this idea, thoughts, etc, are welcome.
24
25 If there is no opposition, what would it take for us to do this?
26
27 Thanks,
28
29 William
30
31 [1] http://bugs.gentoo.org/show_bug.cgi?id=381783
32 [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64

Replies

Subject Author
Re: [gentoo-dev] fhs and multilib question "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] fhs and multilib question Alexey Shvetsov <alexxy@g.o>
Re: [gentoo-dev] fhs and multilib question James Cloos <cloos@×××××××.com>
[gentoo-dev] multilib setup Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] fhs and multilib question Joshua Kinard <kumba@g.o>