Gentoo Archives: gentoo-user

From: urpion@×××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shared libraries lack a SONAME [SOLVED]
Date: Mon, 05 Oct 2020 03:33:33
Message-Id: <20201005033304.GA31871@imap.gmx.com:993>
In Reply to: Re: [gentoo-user] Shared libraries lack a SONAME by Michael Orlitzky
1 On Tue, Sep 29, 2020 at 09:30:39AM -0400, Michael Orlitzky wrote:
2 > On 2020-09-28 21:24, urpion@×××.com wrote:
3 > > On Mon, Sep 28, 2020 at 03:10:09PM +1000, urpion@×××.com wrote:
4 > >> On Sat, Sep 26, 2020 at 09:57:59AM -0400, Michael Orlitzky wrote:
5 > >>> On 2020-09-26 00:50, urpion@×××.com wrote:
6 > >>>>
7 > >>>> Files matching a file type that is not allowed:
8 > >>>> usr/lib/liblsp-dsp-lib-0.5.9.so
9 > >>>> * ERROR: media-libs/lsp-dsp-lib-0.5.9::macro failed:
10 > >>>> * multilib-strict check failed!
11 > >>>> *
12 > >>>
13 > >>> That's a 64-bit library I guess. It has to go in /usr/lib64 instead of
14 > >>> /usr/lib.
15 > >>>
16 > >>> (You can read about multilib-strict in `man make.conf`)
17 > >>>
18 > >> Thanks very much. I'll look into that. If this gets through, my last
19 > >> replys seem to have disappeard.
20 > >>
21 > > I have tried putting multilib-strict in make.conf. I didn't realize
22 > > default profiles had become multilib, but I still get the same error.
23 > >
24 >
25 > The multilib-strict feature is already enabled by default in most
26 > profiles. That's what's causing your failure: you're installing a
27 > library to a location it shouldn't be installed.
28 >
29 > >>>> Files matching a file type that is not allowed:
30 > >>>> usr/lib/liblsp-dsp-lib-0.5.9.so
31 >
32 > That file should be installed to /usr/lib64, and not /usr/lib. That's
33 > the only thing wrong.
34 >
35 Great, thanks very much. Defining LIBDIR=lib64 in src_configure is all that was needed.
36
37
38 src_configure() {
39 make PREFIX=/usr LIBDIR=lib64 config
40 make fetch
41 }