Problem with Devil library : could not load

Hi,
I’m having a problem with the Devil library.
When i call it by :

IL.create();

I get

org.lwjgl.LWJGLException: Could not load devil library.
	at org.lwjgl.devil.IL.nCreate(Native Method)
	at org.lwjgl.devil.IL.create(IL.java:587)
	at Figures.main(Figures.java:27)
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00000000, pid=14307, tid=3086760416
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode, sharing)
# Problematic frame:
# C  0x00000000
#
# An error report file with more information is saved as hs_err_pid14307.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

I’m under Linux, i’ve the last LWJGL version (0.97). I’ve put the natives in the i386 directory…i’ve import the Devil library “import org.lwjgl.devil.*;”

Do you have any idea of the problem ?

Thanks a lot for answering.

I am unable to get a native crash, even with libIL.so not there, or any of its linked libraries missing!
however, do make sure that libIL.so is placed in the dir too

But i’ve tried on two different distributions and that doesn’t work on bothes…
Can you give me a little java code, which use IL and works on your computer ?

And, i’ve tried to do a : System.loadLibrary(“IL”);
And i get

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/jdk1.5.0_02/jre/lib/i386/libIL.so: libtiff.so.3: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:992)
	at Figures.main(Figures.java:22)

I don’t if it’s normally…because i directly load IL library…or if that can help you…

Thanks.

I’ve fixed it :). This libtiff error was strange. But i did already have this library installed. But the version 4 ! So i’ve found the paquet libtiff3g (why the g, i don’t know…) and i have installed it and know that works…

And yet, the JVM stack trace and the exception didn’t give me anything more that they couldn’t load devil library…

I tried removing libtiff.so.4, and then launching it - but I dont get any native errors when using org.lwjgl.test.devil.BasicTest

He doesn’t need the libtiff.so.4 but the libtiff.so.3 and on most debian and ubuntu, it’s the 4 version installed and not the 3. And the libtiff.so.3 is in the libtiff3g paquet, and because of the final “g”, we can think that’s not the official libtiff version to install…