Re: shared object file - UnsatisfiedLinkError
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 31 May 2007 16:03:00 GMT
On 31 May 2007 08:20:28 -0700, K.Fawcett wrote:
I am getting a "java.lang.UnsatisfiedLinkError"
Use nm to see what symbols the file really contains. They shouldn't be
mangled, and if they are, the file probably can't be used with JNI as
is. Java has its own specific opinions about symbol naming.
Also, the shared library must exist in a "real" file system, it isn't
sufficient that it exists in a jarfile that belongs to the
application. My guess is that the java code copies the .so out from
the jarfile in order to load it, and that the number is used to make
the filename unique (it could be the process id).
Why don't you simply ask the customer who provided the file these
things? Or at least post the exact, complete error message you got
(hint: cut and paste, don't paraphrase).
/gordon
--
.
- References:
- shared object file - UnsatisfiedLinkError
- From: K.Fawcett
- shared object file - UnsatisfiedLinkError
- Prev by Date: Re: Setting environment variables from java
- Next by Date: Re: Remote access to Tomcat web server
- Previous by thread: shared object file - UnsatisfiedLinkError
- Next by thread: Struts Iframe Exception
- Index(es):
Relevant Pages
|