Mac Problem: unknown required load command 0x80000022
Posted by Jarl Haggerty on Mar 17, 2011; 4:10am
URL: https://forum.jogamp.org/Mac-Problem-unknown-required-load-command-0x80000022-tp2692102.html
I've been trying to get my program to run in multiple environments, so far it works in Windows 7 and Ubuntu but on the iMac I've gotten hold of I get this Exception. I've found posts about similar problems which suggested using -d32, but then Java just says it can't run in 32 bit mode and will continue with 64 bit.
[INFO] Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/jarl/felidae/libgluegen-rt.jnilib: no suitable image found. Did find: /Users/jarl/felidae/libgluegen-rt.jnilib: unknown required load command 0x80000022
[INFO] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[INFO] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
[INFO] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
[INFO] at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[INFO] at java.lang.System.loadLibrary(System.java:1045)
[INFO] at com.jogamp.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
[INFO] at com.jogamp.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
[INFO] at com.jogamp.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at com.jogamp.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
[INFO] at com.jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:56)
[INFO] at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1141)
[INFO] at org.curious.felidae.media.Graphics.<clinit>(Graphics.java:70)
[INFO] at org.curious.felidae.Game.<init>(Game.java:25)
[INFO] at org.curious.felidae.Main.main(Main.java:14)