Gentoo Archives: gentoo-dev

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] fhs and multilib question
Date: Sun, 11 Sep 2011 17:30:32
Message-Id: 1e128a6f2aa11bc3865a2a95eb7179f1@omrb.pnpi.spb.ru
In Reply to: [gentoo-dev] fhs and multilib question by William Hubbs
1 Hi all,
2
3 There is a draft of fhs-3.0[1]
4
5 Also i think that lib should be symlink to lib64 on 64bit systems its
6 at least
7 will be consistent
8
9 My 0.02 $CURRENCY.
10
11 [1] http://dev.linuxfoundation.org/~licquia/fhs-3.0-drafts/fhs.html
12
13
14 On Sun, 11 Sep 2011 11:50:28 -0500, William Hubbs wrote:
15 > Hi all,
16 >
17 > I have been dealing with a bug in openrc which prompted me to look at
18 > our directory structure for libraries on 64 bit systems. The bug will
19 > be
20 > referenced below[1]. The problem in the bug isn't the location of
21 > libraries, but the fact that there is a mount point stored under the
22 > library directories.
23 >
24 > Here is what I've found in fhs [2].
25 >
26 > - /lib should always exist on all architectures.
27 > - /lib64 should only exist on amd64, ppc64, sparc64 and s390x. It
28 > should hold 64 bit libraries, and /lib should hold 32 bit (or 31 bit
29 > on s390x) libraries.
30 > - /lib should hold 64 bit libraries on ia64.
31 > - FHS mentions /lib32 but doesn't really define what goes in it, and
32 > with
33 > the definition of when /lib64 is to be used, there doesn't seem to
34 > be a
35 > need for /lib32.
36 > - Also, it seems questionable that /lib is a symlink to /lib64 on
37 > non-multilib systems. I think we should still have separate /lib
38 > and
39 > /lib64 directories.
40 >
41 > Constructive criticism of this idea, thoughts, etc, are welcome.
42 >
43 > If there is no opposition, what would it take for us to do this?
44 >
45 > Thanks,
46 >
47 > William
48 >
49 > [1] http://bugs.gentoo.org/show_bug.cgi?id=381783
50 > [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64
51
52 --
53 Best Regards,
54 Alexey 'Alexxy' Shvetsov
55 Petersburg Nuclear Physics Institute, Russia
56 Department of Molecular and Radiation Biophysics
57 Gentoo Team Ru
58 Gentoo Linux Dev
59 mailto:alexxyum@×××××.com
60 mailto:alexxy@g.o
61 mailto:alexxy@×××××××××××××.ru

Replies

Subject Author
Re: [gentoo-dev] fhs and multilib question William Hubbs <williamh@g.o>