On Sat, Jan 8, 2022 at 6:37 AM Mattia Verga via devel
<devel(a)lists.fedoraproject.org> wrote:
`E: shared-library-without-dependency-information
/usr/lib64/libapogee.so.3.2`
I'm not sure if this is a rpmlint false positive. All I can found
searching is an issue in rpmlint which says that the library could be
statically linked [3], but running ldd on the file shows it is shared.
(as far I understand, I'm not a software developer)
I see this happen with libraries that do not depend on any symbols in
libc. Check pretty much any ocaml-* package, for example, and rpmlint
will report this. If your library functions as expected, then ignore
this message.
`E: missing-PT_GNU_STACK-section /usr/lib64/libapogee.so.3.2`
I can't find anything searching for this online. Maybe another false
positive?
This means that the toolchain thinks your library needs an executable
stack. That usually happens because the project includes assembly
language files, and those files do not contain the magic to tell the
toolchain that the stack does not need to be executable. Try adding
-Wa,--noexecstack to the build flags or -Wl,-z,noexecstack to the
linker flags.
--
Jerry James
http://www.jamezone.org/