Login  Register

Re: JOAL seems to miss a system symbol on Mac OS X 10.7.5

Posted by Sven Gothel on Jul 12, 2015; 5:43pm
URL: https://forum.jogamp.org/JOAL-seems-to-miss-a-system-symbol-on-Mac-OS-X-10-7-5-tp4034760p4034874.html

On 06/25/2015 05:07 PM, Xerxes Rånby [via jogamp] wrote:

>     andreas_dr wrote
>     JOAL seems to miss a system symbol on Mac OS X 10.7.5
>
>     see:
>     dyld: lazy symbol binding failed: Symbol not found: ___sincosf_stret
>       Referenced from:
>     /var/folders/yw/f9s5f4wx5mx16dsr69q02gnh0000gn/T/jogamp_0000/file_cache/jln2592051744718153336/jln633413294624794300/libopenal.dylib
>
>       Expected in: /usr/lib/libSystem.B.dylib
>
>     Any ideas or suggestions?
>
>     Thank you in advance.
>
>     Best regards
>     Andreas
>
> Thank you for making us aware. It appears that when you use the Darwin gcc
> tool-chains you need to pass this extra flag to add support to older versions
> of OSX.
> https://gcc.gnu.org/onlinedocs/gcc/Darwin-Options.html
> --extra-cflags="-mmacosx-version-min=10.1"
>
> The question is which is the lowest OSX version to support?
> If there is no objections then i would suggest that we try add support for
> 10.1 and up.
In Gluegen (gluegen-cpptasks-base.xml)
we currently add:
  <compilerarg value="-mmacosx-version-min=10.5"/>

I have added a patch to JOAL/openal-soft already ..

http://jogamp.org/git/?p=openal-soft.git;a=commit;h=178194b7de4b4ad1de0c701356fca46565dde762

~Sven



signature.asc (828 bytes) Download Attachment