UnsatisfiedLinkError with SWIG generated java bindings

11 views
Skip to first unread message

awai...@oakland.edu

unread,
Jan 29, 2016, 4:50:00 PM1/29/16
to scala-user
Hi,

I am facing java.lang.UnsatisfiedLinkError: from a native library generated in SWIG. I used SWIG to create a .so library file. I can succesfully import it with System.loadLibrary(), and I cannot call the native functions from that library.


The problem is well explained here
http://www.scala-lang.org/old/node/1043.html

The classpath LD_LIBRARY_PATH is set but the scala file still complains that it cannot find the Native Method.

Please help me

Thank you
Reply all
Reply to author
Forward
0 new messages