Login  Register

Re: Cannot find extracted native libraries

Posted by Sven Gothel on Nov 28, 2012; 4:56pm
URL: https://forum.jogamp.org/Cannot-find-extracted-native-libraries-tp4027274p4027276.html

On 11/28/2012 05:27 PM, runiter [via jogamp] wrote:
> In one of our Mac computers we get the following exception.
> It appears that after extracting the native files jogl cannot find them!
> Any ideas why this is happening?
>
> Here is the exception:
>

Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/mE/mEUDAk00FsCuJQbxmIxxrk+++TM/-Tmp-/jogamp_0000/file_cache/jln7551921462927477829/jln5317480986996924740/libnativewindow_awt.jnilib:  Library not loaded: @rpath/libjawt.dylib   Referenced from: /private/var/folders/mE/mEUDAk00FsCuJQbxmIxxrk+++TM/-Tmp-/jogamp_0000/file_cache/jln7551921462927477829/jln5317480986996924740/libnativewindow_awt.jnilib   Reason: image not found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1861)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1741)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1020)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:434)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:59)

Looks like the depending @rpath/libjawt.dylib could not be found.

Please state the OS, Java and JOGL version.

Please run 'etc/test_dbg.sh' as described in Wiki/FAQ/Bugreport,
due to a bug I just recognized pls change the script as follows:
  -CLASSPATH=jar/gluegen-rt.jar:jar/jogl.all.jar
  +CLASSPATH=jar/gluegen-rt.jar:jar/jogl-all.jar

complete:
  (7z x jogamp-all-platforms.7z; cd jogamp-all-platforms)

  jogamp-all-platforms$ bash etc/test_dbg.sh >& test_dbg.log

Please zip the log file and attach it to your bug report (or here in this forum).

~Sven


signature.asc (909 bytes) Download Attachment