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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

andreas_dr
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
Reply | Threaded
Open this post in threaded view
|

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

Xerxes Rånby
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.
Reply | Threaded
Open this post in threaded view
|

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

andreas_dr
Hi,

you are welcome. Can you tell me in which jogamp release the fix will be included?

Many thanx.

Best regards
Andreas
Reply | Threaded
Open this post in threaded view
|

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

gouessej
Administrator
Please give a try to Xerxes' suggestion and then maybe we will include it. I wonder whether there is the same kind of problem in other JogAmp APIs.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

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

Sven Gothel
Administrator
In reply to this post by Xerxes Rånby
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
Reply | Threaded
Open this post in threaded view
|

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

andreas_dr
Hallo,

currently i have no access to internet at home, so I can not test :(

So you already have a fix. Will this be included into jogamp 2.3.2?

Best regards and many thanx.
Andreas
Reply | Threaded
Open this post in threaded view
|

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

andreas_dr
In reply to this post by gouessej
Hallo,

i can tell you that at least JOGL is working fine on Mac OS X 10.7.5. At least with all the features our engine uses.

Best regards
Andreas