Run Tests

hey there!



in the "setting up eclipse to build jme" - tutorial i fail at "Run Tests"



whatever test case i start, i get the following exception:



SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: /mnt/data/workspace/jme_java_cvs/lib/liblwjgl.so: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /mnt/data/workspace/jme_java_cvs/lib/liblwjgl.so)
   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:992)
   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:111)
   at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:149)
   at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:192)
   at com.jme.app.BaseGame.start(BaseGame.java:62)
   at jmetest.renderer.TestTeapot.main(TestTeapot.java:61)



do i have the wrong C library installed on my system? if yes, y does my application work when i build the .jar files and "normally" use them?

thanks,
Andy

The new lwjgl binaries require this glibc version - probably you are running everything else but the tests with an older liblwjgl.so?

right, thx irrisor  :slight_smile:

hello,



I have the same problem whith de GLIBC_2.4, but I don't know how to solve it.

I found the library "glibc-2.4.tar.gz" but I don't know what I have to do now and how.



Please, could you say me how to install it.



thanks.

You need to update your whole linux installation… maybe we should ask the lwjgl people if they can build for older glibc as well… can someone search/post on the lwjgl boards about this issue? (don't have the time myself, sorry)

hello,

that's, my old ubuntu version didn't suport glibc-2.4

I have  updated it and now I don't have problems :wink:



thanks you

thx guys for your replies.



but updating ubuntu is not really an option for me because the sysadmins would rip my head off  :expressionless:



any other solutions? i dont know how to reach the "lwjgl people" :wink:



thx,

Andy

dhdd said:

any other solutions? i dont know how to reach the "lwjgl people" ;)

http://lwjgl.org/forum/