Posted by
Elen on
Feb 04, 2013; 5:16pm
URL: https://forum.jogamp.org/gluegen-rt-raspberry-problem-with-tmp-directory-tp4028128.html
Hi I tried to run this demo
http://labb.zafena.se/?p=547 on Raspberry Pi
raspberrypi:/path/to/jogamp-all-platforms$ java -Dnativewindow.ws.namw=jogamp.newt.driver.bcm.vc.iv -cp graph.jar:jar/jogl-all.jar:jar/gluegen-rt.jar: RawGL2ES2demo
I've got this exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/jogamp_0000/file_cache/jln2113502944061639206/jln6985497449694482276/libgluegen-rt.so: /tmp/jogamp_0000/file_cache/jln2113502944061639206/jln6985497449694482276/libgluegen-rt.so: 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:1954)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1060)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:437)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:59)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:90)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:328)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:390)
at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:251)
at com.jogamp.common.os.Platform.access$000(Platform.java:57)
at com.jogamp.common.os.Platform$1.run(Platform.java:186)
at com.jogamp.common.os.Platform$1.run(Platform.java:183)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:183)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
at RawGL2ES2demo.main(RawGL2ES2demo.java:252)
I checked that directory and file exists.
I tried to change temp directory by setting -Djava.io.tmpdir but this didn't helped me. Can we set path to this library, so it wouldn't search it in temp directory?
I hope you will help me.