Bug#956178: libjna-jni libjnidispatch.system.so has build directory in soname

tony mancill tmancill at debian.org
Wed Apr 8 18:22:04 BST 2020


On Tue, Apr 07, 2020 at 08:02:24PM -0700, Bart Massey wrote:
> Package: libjna-jni
> Version: 4.5.2-1+b1
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> Placed the following in /etc/ld.so.conf.d/java-jni.conf
> 
>         /usr/lib/x86_64-linux-gnu/jni
>         /usr/lib/jni
> 
> and ran ldconfig, which reported
> 
>         ldconfig: Can't link /usr/lib/x86_64-linux-gnu/jni//build/libjna-java-ayrlgf/libjna-java-4.5.2/build/native-linux-x86-64/libjnidispatch.system.so to libjnidispatch.system.so
> 
> This didn't seem right, so after some tracking down
> discovered that the Makefile was borked.
> 
> Attached is a tested patch that resolves the problem by
> removing the build path from the library soname.

Hi Bart,

Thanks for the analysis and the patch!  I will apply the patch and get
this uploaded.

Cheers,
tony



More information about the pkg-java-maintainers mailing list