Bug#775257: libiomp5: missing SONAME link /usr/lib/libiomp5.so -> libiomp5.so.5

James Cowgill james410 at cowgill.org.uk
Tue Jun 16 13:40:26 UTC 2015


Control: found -1 0.20140926-1

On Tue, 13 Jan 2015 11:00:35 +0100 Andreas Beckmann <anbe at debian.org> wrote:
> Package: libiomp5
> Version: 0.20141212-1~exp1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi Sylvestre,
> 
> libiomp5 in experimental misses the SONAME link, this must be shipped.
> There are also no preinst/prerm scripts that would trigger ldconfig,
> sounds like a missing debhelper call ...
> 
> Andreas

This bug affects the version in testing (and stable) as well. The
ldconfig bug at least violates policy 8.1.1.

This all happens because debhelper looks at the SONAME (not filename) o
f the library and if it is unversioned, it will assume it is private
and not generate any ldconfig calls.

You should try any persuade upstream to use a correct SONAME like: 
 libiomp.so.5

The file 'libiomp5.so.5' is completely worthless because the SONAME is
still 'libiomp5.so' (which is what the linker will look at). You should
probably remove it. To fix the SONAME properly you must pass '-soname'
to the linker.

Until that's done, you might be able to hack something up with manual
ldconfig calls - it won't be nice though.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150616/2a9e492a/attachment.sig>


More information about the Pkg-llvm-team mailing list