Login  Register

Re: Mac Problem: unknown required load command 0x80000022

Posted by Sven Gothel on Mar 27, 2011; 1:23am
URL: https://forum.jogamp.org/Mac-Problem-unknown-required-load-command-0x80000022-tp2692102p2737801.html

On Monday, March 21, 2011 04:40:55 Wade Walker [via jogamp] wrote:

>
> 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  http://forum.jogamp.org/file/n2708643/jogl-no-compact-linkedit.zip
> 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

what are the downsides of '-no_compact_linkedit' ?

None ?
Shall we add this to gluegen then ?
I personally don't care that much ..

Nice findings Wade ..

~Sven