[Xapian-tickets] [Xapian] #395: Xapian binding make check failed on java binding: wrong architecture, UnsatisfiedLink

Xapian nobody at xapian.org
Tue Dec 8 10:58:06 GMT 2009


#395: Xapian binding make check failed on java binding: wrong architecture,
UnsatisfiedLink
-----------------------------+----------------------------------------------
 Reporter:  goodwill         |        Owner:  olly      
     Type:  defect           |       Status:  closed    
 Priority:  normal           |    Milestone:            
Component:  Xapian-bindings  |      Version:  1.0.14    
 Severity:  major            |   Resolution:  incomplete
 Keywords:                   |    Blockedby:            
 Platform:  Mac OS X         |     Blocking:            
-----------------------------+----------------------------------------------

Comment(by larsr):

 Perhaps you already did this, but you should make sure that the .c files
 for the JNI library are compiled with '-arch x86_64' because the newer
 Java 1.6 on mac is a 64 bit binary, and to link in code it must be
 compiled for that.
 The error message says that it can find the file, but that there is no
 matching binary code to load, which suggests that it has been compiled to
 the default 32 bit arch.  BTW, since OSX has fat binaries, it is ok to
 compile in many different archs, both 32 and 64 bits, and x86 and ppc.

-- 
Ticket URL: <http://trac.xapian.org/ticket/395#comment:12>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list