[360] in java-interest

home help back first fref pref prev next nref lref last post

Linking Shared Libraries

daemon@ATHENA.MIT.EDU (Anselm.BairdSmith)
Fri Jun 16 08:24:53 1995

Date: Fri, 16 Jun 1995 14:01:35 +0200
From: "Anselm.BairdSmith" <Anselm.Baird_Smith@inria.fr>
To: ebeling@igd.fhg.de (Pascal Ebeling (D. Boenning))
Cc: java-interest@java.sun.com
In-Reply-To: <9506161010.AA17481@picorosso.igd.fhg.de>


Pascal Ebeling writes:
 > Following the steps in the documentation on implementing native
 > methods I created a shared library and linked it with the
 > Linker.loadLibrary method. The LD_LIBRARY_PATH variable contains the
 > correct path but I'm still getting a UnsatisfiedLinkException when I
 > call the native method. What else could be the reason for this??

I got this also, check that your .so name is correct, the problem I
got was that as I used java_g, the .so name had to be
lib<package>_g.so (where "package" is the string you use as an arg to
Linker.loadLibrary). 

Anselm.

Anselm.BairdSmith@inria.fr - http://www.inria.fr/koala/abaird.html


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post