Gentoo Archives: gentoo-user

From: James Stevenson <james.al.stevenson@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Multilib help
Date: Wed, 04 Jul 2018 06:31:23
Message-Id: CAJPAcrNN525=jBNo03x6OurasBR2MqFq0=1Yfc5hs4p=tar5Mw@mail.gmail.com
In Reply to: [gentoo-user] Multilib help by "Zoltán Kócsi"
1 The easiest way to fix this issue is to figure out which libraries you need
2 and then stipulate that you want the x86_32 version of that package in your
3 accept_keywords file. Check the Gentoo wiki for the software you are trying
4 to run for hints on what libraries you need.
5
6 James
7
8 On Wed, Jul 4, 2018, 6:52 AM Zoltán Kócsi <zoltan@××××××××××.au> wrote:
9
10 > I have to admit that I'm a recent convert to Gentoo and don't really
11 > understand (read: haven't the slightest clue about) the inner workings
12 > of portage, emerge, ebuild et al.
13 >
14 > My problem is that I've installed a multilib-enabled 64-bit system and
15 > realised that /usr/lib32 and /usr/lib64 are vastly of different. There
16 > are around 2200 dynamic and some 130 static libs in lib64 while there
17 > are around 300 dynamic and 15 static libs in lib32. That is, about 85%
18 > of libraries exist in 64-bit version only.
19 >
20 > Consequently, pretty much any 32-bit binary fails to launch due to
21 > missing libraries. Which is most unfortunate as I have quite a few
22 > of such binaries from EDA tools to productivity tools to games.
23 >
24 > I would much appreciate if someone would explain how to tell the system
25 > to build a 32-bit version of *every* library it installs (and have
26 > already installed) so that 32-bit binaries could run (and could also be
27 > built against those libs, actually).
28 >
29 > Due to my complete lack of understanding of the magic embedded in
30 > portage, my reading of the Gentoo Wiki did not help at all. Yes, I
31 > found the multilib pages, all sorts of references to ebuild categories
32 > but, unfortunately, I don't really understand what they talk about.
33 >
34 > So if a good soul came down to the level of the unfranked and told me
35 > what to do, I'd be most obliged. In addition, if there's some decent
36 > documentation on the package management system (apart from the Wiki),
37 > preferably in a format that can be printed for night-time reading, I'd
38 > be glad to receive some pointers.
39 >
40 > Thanks,
41 >
42 > Zoltan
43 >
44 >

Replies

Subject Author
Re: [gentoo-user] Multilib help Arve Barsnes <arve.barsnes@×××××.com>