It is unfortunate that JNA defaults to looking in a system location for
libjnidispatch.so, since that means that non-packaged Java applications
which happen to put a different version in their classpath will pick up
the wrong binary. You should need to opt in to using the system library.
For purposes of this package I would suggest that the DLL be moved, and
packages depending on this one which wish to use it should add that
location to $LD_LIBRARY_PATH. (If they neglect to do so, the worst that
happens is that JNA unpacks its bundled DLL into a temporary directory
at runtime, with a small performance penalty.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1065253

Title:
  mvn test of jenkins plugins failed with libjna-java installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjna-java/+bug/1065253/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to