Gentoo Archives: gentoo-user

From: "Valmor F. de Almeida" <val.gentoo@×××××.com>
To: gentoo-user@l.g.o, Rich Freeman <rich0@g.o>
Subject: Re: [gentoo-user] why both /usr/lib and /usr/lib64 on a 64bit system?
Date: Tue, 16 Feb 2021 15:57:46
Message-Id: 99076953-ea78-7a8b-8ec7-8354756ea232@gmail.com
In Reply to: Re: [gentoo-user] why both /usr/lib and /usr/lib64 on a 64bit system? by Rich Freeman
1 On 2/14/21 5:54 PM, Rich Freeman wrote:
2 > On Sat, Feb 13, 2021 at 2:33 PM Valmor F. de Almeida
3 > <val.gentoo@×××××.com> wrote:
4 >>
5 >>
6 >> Hello,
7 >> I use the global flags USE="elogind alsa -multilib -abi_x86_32" and I
8 >> thought this would prevent 32bit libraries to be installed.
9 >>
10 >> For example I have (from glibc) both:
11 >>
12 >> /usr/lib/libutil.so
13 >> /usr/lib64/libutil.so
14 >>
15 >
16 > In case you haven't already figured it out, glibc ignores the setting
17 > of abi_x86_32. It is controlled by your profile selection. Part of
18 > that might be legacy, but if you build glibc without lib32 support it
19 > is basically impossible to add it in later without bootstrapping it.
20 >
21 > If you don't want multilib then you can use a no-multilib profile.
22 >
23
24 I ended up using:
25
26 USE="elogind alsa -multilib -multiarch -abi_x86_32"
27
28 but some libraries from glibc remain 32bit. My main goal was to remove
29 32bit libraries from libX11. This did happen since nvidia-drivers was
30 installing the 32bit versions of libX11 if -multilib -abi_x86_32 were
31 not used; maybe I should have used this in package.use/nvidia-drivers
32 instead globally.
33
34 Thanks for all the responses.
35 --
36 Valmor

Replies