<html>
<head>
<base href="https://issues.openmandriva.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - jni fails to load libjnidispatch.so"
href="https://issues.openmandriva.org/show_bug.cgi?id=2105">2105</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>jni fails to load libjnidispatch.so
</td>
</tr>
<tr>
<th>Product</th>
<td>Openmandriva Lx 3.0
</td>
</tr>
<tr>
<th>Version</th>
<td>Lx 3.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>Software
</td>
</tr>
<tr>
<th>Assignee</th>
<td>cris@beebgames.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mandian@openmailbox.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>tpgxyz@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>itchka@compuserve.com
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>