Linux problem

Started by Linor, April 25, 2007, 05:56:25

Previous topic - Next topic

Linor

I'm trying to run lwjgl under linux, but when I try the WindowCreationTest as indicated in the docs, I receive the following error, which puzzles me a bit. Any thoughts?

Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/lwjgl-1.0/native/linux/liblwjgl.so: Can't load IA 32-bit .so on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:993)
        at org.lwjgl.Sys$1.run(Sys.java:75)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
        at org.lwjgl.Sys.loadLibrary(Sys.java:84)
        at org.lwjgl.Sys.<clinit>(Sys.java:101)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

Matzon

err - OS and hardware?
Pretty strange error message!

Linor

Running:
model name      : AMD Athlon(tm) XP 2400+
kernel:  2.6.8-3
os: Debian Stable (Etch)

java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

Linor

Nvm, DISPLAY variable not set, so it picked the headless mode mawt, descriptive error though :/