On Fri, Sep 25, 2020 at 04:54:28PM +1000, urp...@gmx.com wrote:
> On Fri, Sep 25, 2020 at 03:39:20PM +1000, urp...@gmx.com wrote:
> >   Hi! I'm trying to install a library, lsp-dsp-lib-0.5.9, but I fail at
> >   install phase.
> >
> >
> >   >>> Install media-libs/lsp-dsp-lib-0.5.9 into 
> > /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
> > make -j4 -l1 DESTDIR=/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image 
> > install
> > make lsp-common-lib.o
> >   ld   [lsp-dsp-lib] lsp-dsp-lib.o
> >   g++  [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.so
> >   ar   [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.a
> > Installing lsp-dsp-lib
> > 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
> > 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
> > Install OK
> > >>> Completed installing media-libs/lsp-dsp-lib-0.5.9 into 
> > >>> /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
> >
> >  * Final size of build directory: 14760 KiB (14.4 MiB)
> >  * Final size of installed tree:   2120 KiB ( 2.0 MiB)
> >
> >
> > # Copyright 2020 Gentoo Authors
> >  * QA Notice: The following shared libraries lack a SONAME
> >  * /usr/lib/liblsp-dsp-lib-0.5.9.so
> >
> > Files matching a file type that is not allowed:
> >    usr/lib/liblsp-dsp-lib-0.5.9.so
> >
> >
> >   I read "Scanelf: Missing Shared Object Name (SONAME)"
> > Which says "To fix this issue, make sure the shared library
> > is linked with the proper -Wl,-soname,... flag."
> > https://dev.gentoo.org/~zmedico/portage/doc/ch07s04.html
> >
> > and this forum post about LDFAGS
> > https://forums.gentoo.org/viewtopic.php?t=67777
> > Which defines an ebuild variable LDFLAGS
> >
> >   So I added to my ebuild:
> > LDFAGS="-Wl,-soname,liblsp-dsp-lib-0.5.9.so"
> > then tried:
> > LDFAGS="-Wl,-soname,liblsp-dsp-lib.so"
> > But no go. The docs say I need the actual ABI name.
> > Is this the right approach? What is the actual ABI name?
> > Any insight is apreciated
> > Thank you all.
> >
>   Whoops! Sorry about the typo.
> I have tried these:
> LDFLAGS="-Wl,-soname,liblsp-dsp-lib-0.5.9.so"
> LDFLAGS="-Wl,-soname,liblsp-dsp-lib.so"
> LDFLAGS="-Wl,-soname,liblsp-dsp-lib.so.0"

 I have tried using flag-o-matic.eclass like this

src_configure() {
        append-ldflags -Wl,-soname,liblsp-dsp-lib-0.5.9.so
        make PREFIX=/usr config
}

... but doesn't change anything.

Reply via email to