Re: Potential issue with JNA native library search path on some architectures

2020-10-20 Thread Reinhard Pointner
Dear Tiago, I've since fixed the issue by passing -Djna.nosys=false which forces JNA to use System.loadLibrary(). It's along the lines of what you've suggested. I'm using -Djna.noclasspath=false and -Djava.library.path=/usr/lib/arm-linux-gnueabihf/jni as well though, but those may not be strictly

Re: Potential issue with JNA native library search path on some architectures

2020-10-20 Thread Matthias Klose
On 10/19/20 9:04 PM, Reinhard Pointner wrote: > Dear libjna-java package maintainers, > > > The libjna-java package seems to apply a few patches that make things work > on some architectures but not others. > > > 1. > This patch will make JNA search for jnidispatch in > /usr/lib/arm-linux-gnuea

Potential issue with JNA native library search path on some architectures

2020-10-19 Thread Reinhard Pointner
Dear libjna-java package maintainers, The libjna-java package seems to apply a few patches that make things work on some architectures but not others. 1. This patch will make JNA search for jnidispatch in /usr/lib/arm-linux-gnueabi/jni on all arm platforms, but this path is wrong on some arm pl