[om-qa-alerts] [Bug 2105] New: jni fails to load libjnidispatch.so

issues.openmandriva bugzilla-daemon at openmandriva.net
Sun Apr 23 18:52:28 EDT 2017


https://issues.openmandriva.org/show_bug.cgi?id=2105

            Bug ID: 2105
           Summary: jni fails to load libjnidispatch.so
           Product: Openmandriva Lx 3.0
           Version: Lx 3.0
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Software
          Assignee: cris at beebgames.com
          Reporter: mandian at openmailbox.org
        QA Contact: tpgxyz at gmail.com
                CC: itchka at compuserve.com

When a java program tries to load some native lib (using felix) it fails with
the following error:

Unable to resolve 147.0: missing requirement [147.0] osgi.wiring.package;
(osgi.wiring.package=com.sun.jna) [caused by: Native library does not exist:
com/sun/jna/linux-x86-64/libjnidispatch.so]

This is due to Bundle-NativeCode field in MANIFEST.MF of
/usr/share/java/jna.jar which declares libjnidispatch.so as bundled inside the
jar itself while the path inside the jar file is empty and the library
libjnidispatch.so is installed in a proper path of the OS:

$ locate libjnidispatch
/usr/lib64/jna/libjnidispatch.so

$ rpm -qa | grep jna
jna-4.1.0-7-omv2015.0.x86_64

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-qa-alerts_ml.openmandriva.org/attachments/20170423/25e9d6e0/attachment-0001.html>


More information about the OM-QA-Alerts mailing list