On Thu, Nov 30, 2006 at 02:14:16PM -0500, Joachim Martin
wrote:> [The mail list server seems to be having a problem, please forgive the
> private message. Do you have any ideas on this one?]
I've cc:-ed the reply to the mailing list for posterity.
> I'm trying to use enquire.getESet() under Java.
>
> I had to add a public no-arg constructor to RSet that calls
> XapianJNI.rset_new().
Yes, that should be there (otherwise this class isn't much use!)
> I'm getting this error:
>
> java.lang.UnsatisfiedLinkError: enquire_get_eset
> at org.xapian.XapianJNI.enquire_get_eset(Native Method)
> at org.xapian.Enquire.getESet(Enquire.java:115)
>
> Can anyone help point me in the right direction? I assume this method
> is not getting built into the .so, but I don't know how to fix that.
This patch fixes this and adds the missing RSet constructor:
http://www.oligarchy.co.uk/xapian/patches/xapian-java-get-eset.patch
Cheers,
Olly