[Xapian-tickets] [Xapian] #774: libxapian_jni.jnilib installed to preposterous location
Xapian
nobody at xapian.org
Wed Jan 30 01:28:58 GMT 2019
#774: libxapian_jni.jnilib installed to preposterous location
------------------------------------+--------------------------
Reporter: ryandesign | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Java) | Version: 1.4.9
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
------------------------------------+--------------------------
Comment (by olly):
(BTW, there should also be a `.jar` installed - not sure if you quoted all
the output there or just the start of it...)
> Unfortunately I'm not familiar with Java. I don't know how a Java user
would use this jnilib file or where it should actually be installed to.
That's essentially the problem here - we don't know where to install the
Java bindings in a usefully portable way, nor how to query the appropriate
paths from Java, so for now we install to that `built` subdirectory and
document that the user should copy the two files to the appropriate
place(s).
E.g. for a Debian package I know we should install
`/usr/lib/jni/libxapian_jni.so` and `/usr/share/java/xapian.jar` but I
doubt that `$(libdir)/jni/` and `$(datarootdir)/java/` are correct on a
Mac - it's probably somewhere under `/Library/Java`.
--
Ticket URL: <https://trac.xapian.org/ticket/774#comment:1>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list