By default the package install libjnidispatch under /usr/lib/s390x-
linux-gnu/jni/libjnidispatch.system.so and as far as I can see there's
no reason to have a file/link in /usr/lib/s390x-linux-
gnu/libjnidispatch.so.
Still, I was able to reproduce the error which indicates that you might
have a dangling file somewhere. To do that I simply copied the package's
libjnidispatch.system.so to /usr/local/lib and ran ldconfig:
$ sudo cp /usr/lib/s390x-linux-gnu/jni/libjnidispatch.system.so \
/usr/local/lib/
$ sudo ldconfig
/sbin/ldconfig.real: Can't link
/usr/local/lib//build/libjna-java-Ln6YkD/libjna-java-4.5.1/build/native-linux-x86-64/libjnidispatch.system.so
to libjnidispatch.system.so
Running with verbose shows more information:
$ sudo ldconfig --verbose
[other info]
/usr/local/lib:
/build/libjna-java-Ln6YkD/libjna-java-4.5.1/build/native-linux-x86-64/libjnidispatch.system.so
-> libjnidispatch.system.so/sbin/ldconfig.real: Can't link
/usr/local/lib//build/libjna-java-Ln6YkD/libjna-java-4.5.1/build/native-linux-x86-64/libjnidispatch.system.so
to libjnidispatch.system.so
(SKIPPED)
[other info]
This should at least show you where to look for the dangling
libjnidispatch.system.so (eg. /usr/local/lib in my case).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662813
Title:
Libjna-jni uses wrong path on package installation on s390x
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1662813/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs