I trying to package casadi.
https://build.opensuse.org/package/show/home:andythe_great/casadi
I get these errors.
E: library-without-ldconfig-postun
[FONT=monospace]E: library-without-ldconfig-postin
But I do have
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
in my spec file. So what am I missing?
[/FONT]
andythe_great:
I trying to package casadi.
https://build.opensuse.org/package/show/home:andythe_great/casadi
I get these errors.
E: library-without-ldconfig-postun
[FONT=monospace]E: library-without-ldconfig-postin
But I do have
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
in my spec file. So what am I missing?
[/FONT]
Hi
It needs to run against the package that has the lib files in it, eg the devel one.
That’s wrong. -devel packages should only contain unversioned *.so files (which are used during linking). Versioned libraries (like *.so.1) must go into separate library subpackage.
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy
Thanks, I solve it.
Only problem left is unstripped-binary-or-object
Should I filed a bug report on W: unstripped-binary-or-object since the builder suppose to do it?
No, it is up to software you build
33s] CMake Warning:
33s] Manually-specified variables were not used by the project:
33s]
33s] BUILD_STATIC_LIBS
33s] CMAKE_INSTALL_DO_STRIP