Error with netbeans 6.0.1 and eeepc

Hi,

I'm new to JMonkeyEngine and I'm trying to compile it on Asus Eeepc (running Xandros OS, jdk 1.6 and using Netbeans 6.0.1).



I've followed the steps to compile and build jME and everything was ok.



If I run the project it will launch jmetest.TestChooser but when I select one of the option and click ok I receive this error:



12-apr-2008 13.19.50 class jmetest.renderer.TestBoxColor start()

GRAVE: Exception in game loop

java.lang.UnsatisfiedLinkError: /home/user/jdk1.6.0_05/jre/lib/i386/liblwjgl.so: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/user/jdk1.6.0_05/jre/lib/i386/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:1668)

        at java.lang.Runtime.loadLibrary0(Runtime.java:823)

        at java.lang.System.loadLibrary(System.java:1030)

        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$ModesRetriever.run(Unknown Source)

        at com.jme.app.AbstractGame.getAttributes(Unknown Source)

        at com.jme.app.BaseGame.start(Unknown Source)

        at jmetest.renderer.TestBoxColor.main(Unknown Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at jmetest.TestChooser.start(Unknown Source)

        at jmetest.TestChooser.main(Unknown Source)

12-apr-2008 13.19.50 com.jme.app.BaseSimpleGame cleanup

INFO: Cleaning up resources.

12-apr-2008 13.19.50 com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

12-apr-2008 13.19.50 com.jme.app.BaseGame start

INFO: Application ending.



file /lib/tls/libc.so.6 exists on the specified directory.



Someone can help me?

Many thanks.

Tranen

Perhaps it is a 64/32 bit incompatibility.



run these commands:



> file /home/user/jdk1.6.0_05/jre/lib/i386/liblwjgl.so

> file /lib/tls/libc.so.6



And post what it says.

/home/user> file /home/user/jdk1.6.0_05/jre/lib/i386/liblwjgl.so

/home/user/jdk1.6.0_05/jre/lib/i386/liblwjgl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped



/home/user> file /lib/tls/libc.so.6

/lib/tls/libc.so.6: symbolic link to `libc-2.3.6.so'



Many thanks

Ok, but what about:



> file /lib/tls/libc-2.3.6.so



:wink:

oops please forgive my ignorance on linux systems  :smiley:



/home/user> file /lib/tls/libc-2.3.6.so

/lib/tls/libc-2.3.6.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, stripped



Thanks

Well, those seem to match… My only suggestion would be to add a -Djava.library.path=/lib/tls/ to your JVM. In your VM args of the project properties.

i do not use linux but i think its a version problem. it seems that your libc.so.6 links to libc v2.3.6 where you need a version 2.4.



/lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /home/user/jdk1.6.0_05/jre/lib/i386/liblwjgl.so

Oh, that's true… you should update you GLIBC library  XD

Thanks for your answers, sadly ver. 2.4 of GLIBC library is not available under Linux Xandros (the preinstalled Linux distro on eeepc).



Maybe I'll switch to eeeXubunt.



However this not a problem of JME anymore, it's Xandors problem.



Thanks again.

Tranen