Login  Register

Re: Mac Problem: unknown required load command 0x80000022

Posted by Wade Walker on Mar 21, 2011; 3:40am
URL: https://forum.jogamp.org/Mac-Problem-unknown-required-load-command-0x80000022-tp2692102p2708643.html

Doing some more Googling, it looks like compiling on 10.6 may produce libraries that won't work on 10.5 if you don't set the flags right (see http://stackoverflow.com/questions/1440456/static-libraries-in-version-cross-compiled-program).

We have two options:

1. You can try the version I compiled just now on 10.6 with the -no_compact_linkedit flag described in the Stack Overflow post above (zip file at jogl-no-compact-linkedit.zip).

2. You can build JOGL on your 10.5.8 machine and try using the .jnilib files that come out of that build. I recently updated the instructions at http://jogamp.org/wiki/index.php/Building_JOGL_on_the_command_line to cover the Mac, so if you've already got Xcode installed, it should be easy.

Either way, please let me know what works -- if we need to change our build flags that would be good for us to know