https://bugzilla.redhat.com/show_bug.cgi?id=1420433
Bug ID: 1420433
Summary: leveldbjni new package with /lib64/libleveldbjni.so,
instead of in /META-INF/native/linux64/ in
/usr/lib/java/leveldbjni-linux.jar
Product: Fedora
Version: 24
Component: leveldbjni
Severity: urgent
Assignee: puntogil(a)libero.it
Reporter: vorburger(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
puntogil(a)libero.it
External Bug ID: Opendaylight bug 7742
Description of problem:
[Initial Bug Description filed by Java developer who may be getting some RPM
related terminology wrong; readers, feel free to edit to clarify.]
For
https://bugzilla.redhat.com/show_bug.cgi?id=1420383, for
https://bugs.opendaylight.org/show_bug.cgi?id=7742, we need a package of
leveldbjni (see
https://github.com/fusesource/leveldbjni) that is "native", not
a "Java package", which lays down libleveldbjni.so into /lib64/ instead of
having it in /META-INF/native/linux64/ in /usr/lib/java/leveldbjni-linux.jar
This could be either a completely new package, which personally I would find
clearer to avoid any confusion with the current "java" package leveldbjni, or
perhaps folks more familiar with this decide to extend the existing leveldbjni
package for this; whatever works for you works for me, as long as it solves the
requirement shown below
Version-Release number of selected component (if applicable): master
Steps to Reproduce, as per
https://github.com/fusesource/leveldbjni/issues/90:
1. git clone git@github.com:fusesource/leveldbjni.git
2. cd leveldbjni
3. If
https://github.com/fusesource/leveldbjni/pull/89 is not yet merged to
master, then: git remote add vorburger
https://github.com/vorburger/leveldbjni/; git fetch vorburger; git checkout
vorburger/test
4. mvn test -P\!linux64
Actual results:
cat
leveldbjni-tests/target/surefire-reports/org.fusesource.leveldbjni.tests.LevelDBTest.txt
testLevelDB(org.fusesource.leveldbjni.tests.LevelDBTest) Time elapsed: 0.021
sec <<< ERROR!
java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni
in java.library.path]
Expected results:
sudo dnf install <name-of-whatever-new-package-this-will-build>
mvn test -P\!linux64
LevelDBTest passed!
--
You are receiving this mail because:
You are on the CC list for the bug.