Hi,
When i run this command I took this error at FreeBSD 6.2
java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/linux org.lwjgl.test.WindowCreationTest
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/home/javaci/lwjgl/lwjgl-1.0/native/linux/liblwjgl.so: Shared object "libm.so.6" not found, required by "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:108)
at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)
So, I search google and forum, I didn't find any solution. I install GCC 4.2. for that purpose http://rpmfind.net/linux/rpm2html/search.php?query=libm.so.6 (http://rpmfind.net/linux/rpm2html/search.php?query=libm.so.6)
Any idea?
Thanks in advance
bsd insn't officially supported, though I guess it'll run as linux - however I have no idea about that error message.
what does ldd tell you (if that exists on bsd?)
Maybe we found a solution:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html
How can use ldd with lwjgl?
Where can i find missing libraries?
Thanks for response
I'm a bit out of my league for this. I have never had bsd installed.
Perhaps you can try and compile lwjgl?
Check it out of svn and do an: ant generate-all compile_native
ok I will compile. If I find any solution I will write.
Thanks.