Re: JBluez, libjbluez.so and "UnsatisfiedLinkError"
"Grzegorz B. Prokopski" <[email protected]> Mon, 29 Aug 2005 22:45:22 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | SableVM Project http://sablevm.org |
| Message-ID | <20050830024522.GA1229@gadek> |
+++ Nils Aue [22/08/05 17:38 +0200]:
> Hello,
>
> i'am trying for quite a while to get the JBluez-Library running on my
> iPAQ 5550.
>
> Always when i try to start up my application, i got an
> "UnsatisfiedLinkError, native library jbluez not found".
>
> I do have the "libjbluez.so" file on my system in "/usr/lib/jni" and had
> run ldconfig. Typing "ldconfig -p | grep libjbluez*" gives me
> "libjbluez.so (libc6) => /usr/lib/jni/libjbluez.so". Looks fine, i
> thought, but doens't work.
>
> I had have a similiar problem with "libgtkpeer.so". I did the same as
> above and that one works fine. I just do not have any ideas anymore.
Have you tried setting LD_LIBRARY_PATH to /usr/lib/jni ?
('export LD_LIBRARY_PATH=/usr/lib/jni' under bash)
Debian packages are modified to automatically consider the content of this
directory, not sure about Familiar. Or maybe you compiled from sources?
This way or another please try the above and let us know whether it changed
anything.
HTH,
Grzegorz B. Prokopski