-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I checked the classloader and indeed the problem was
a classloader conflict ( the imported classes used the System-default
ClassLoader, which lead to the problem ).
I was able to place the call to LoadLibrary into a separate class
which I put in
> From: Daniel Wildschut [mailto:[EMAIL PROTECTED]
> Subject: UnsatisfiedLinkError while using JNI
>
> I then used LD_DEBUG=all to check if the library was indeed loaded.
> There I found that the library was loaded however when JNI searches
> for the necessary function it does not search the newly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
the library itself is found and loaded ( at least according to
LD_DEBUG=all ), also if the library is not in the LD_LIBRARY_PATH I get
a different error ( the runtime telling me the library could not be loaded).
- - Daniel Wildschut
Martin Gai
the entries in the LD_LIBRARY_PATH must be colon separated
if your setting thru bash make sure you export LD_LIBRARY_PATH
If none that works take a look at these LD_LIBRARY_PATH diagnostics
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
M-
This e-mail communication and any attac