1 |
On Fri, Sep 25, 2020 at 03:39:20PM +1000, urpion@×××.com wrote: |
2 |
> Hi! I'm trying to install a library, lsp-dsp-lib-0.5.9, but I fail at |
3 |
> install phase. |
4 |
> |
5 |
> |
6 |
> >>> Install media-libs/lsp-dsp-lib-0.5.9 into /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image |
7 |
> make -j4 -l1 DESTDIR=/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image install |
8 |
> make lsp-common-lib.o |
9 |
> ld [lsp-dsp-lib] lsp-dsp-lib.o |
10 |
> g++ [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.so |
11 |
> ar [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.a |
12 |
> Installing lsp-dsp-lib |
13 |
> install /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-lib-0.5.9.so -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib |
14 |
> cp /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-lib-0.5.9.a -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib |
15 |
> Install OK |
16 |
> >>> Completed installing media-libs/lsp-dsp-lib-0.5.9 into /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image |
17 |
> |
18 |
> * Final size of build directory: 14760 KiB (14.4 MiB) |
19 |
> * Final size of installed tree: 2120 KiB ( 2.0 MiB) |
20 |
> |
21 |
> |
22 |
> # Copyright 2020 Gentoo Authors |
23 |
> * QA Notice: The following shared libraries lack a SONAME |
24 |
> * /usr/lib/liblsp-dsp-lib-0.5.9.so |
25 |
> |
26 |
> Files matching a file type that is not allowed: |
27 |
> usr/lib/liblsp-dsp-lib-0.5.9.so |
28 |
> |
29 |
> |
30 |
> I read "Scanelf: Missing Shared Object Name (SONAME)" |
31 |
> Which says "To fix this issue, make sure the shared library |
32 |
> is linked with the proper -Wl,-soname,... flag." |
33 |
> https://dev.gentoo.org/~zmedico/portage/doc/ch07s04.html |
34 |
> |
35 |
> and this forum post about LDFAGS |
36 |
> https://forums.gentoo.org/viewtopic.php?t=67777 |
37 |
> Which defines an ebuild variable LDFLAGS |
38 |
> |
39 |
> So I added to my ebuild: |
40 |
> LDFAGS="-Wl,-soname,liblsp-dsp-lib-0.5.9.so" |
41 |
> then tried: |
42 |
> LDFAGS="-Wl,-soname,liblsp-dsp-lib.so" |
43 |
> But no go. The docs say I need the actual ABI name. |
44 |
> Is this the right approach? What is the actual ABI name? |
45 |
> Any insight is apreciated |
46 |
> Thank you all. |
47 |
> |
48 |
Whoops! Sorry about the typo. |
49 |
I have tried these: |
50 |
LDFLAGS="-Wl,-soname,liblsp-dsp-lib-0.5.9.so" |
51 |
LDFLAGS="-Wl,-soname,liblsp-dsp-lib.so" |
52 |
LDFLAGS="-Wl,-soname,liblsp-dsp-lib.so.0" |