Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X symbol not found: __sincos_stret #324

Closed
springmeyer opened this issue Oct 2, 2014 · 5 comments
Closed

OS X symbol not found: __sincos_stret #324

springmeyer opened this issue Oct 2, 2014 · 5 comments

Comments

@springmeyer
Copy link
Member

Full error is:

dyld: lazy symbol binding failed: Symbol not found: __sincos_stret
   Referenced from: ...libmapnik.dylib
   Expected in: /usr/lib/libSystem.B.dylib

Thinking this is due to the binaries only working on 10.9 (seen on 10.8.5)

@springmeyer
Copy link
Member Author

Yes, looks like an llvm optimization that 10.8 does not have: http://stackoverflow.com/questions/19015780/sincos-stret-undefined-symbol-when-linking.

@ryantroyford
Copy link

while i wait for my work laptop to download the long-neglected OSX 10.9 update, i've jumped over to my personal machine which already has it. cloned the mapbox-studio repo, and everything is working as it should. i'll wait to confirm on the other machine, but right now it looks like that's the culprit.

@ryantroyford
Copy link

OSX 10.9 update complete, had to install node.js, then everything worked like a charm.

@e-n-f
Copy link

e-n-f commented Oct 3, 2014

This is happening in the release build 0.1.5 of Mapbox Studio.

Erics-MacBook-Air-3:app enf$ cd /Applications/Mapbox\ Studio.app/Contents/Resources/app
Erics-MacBook-Air-3:app enf$ node index.js 
Mapbox Studio @ http://localhost:3000/
dyld: lazy symbol binding failed: Symbol not found: ___sincos_stret
  Referenced from: /Applications/Mapbox Studio.app/Contents/Resources/app/node_modules/mapnik/lib/binding/node-v11-darwin-x64/libmapnik.dylib
  Expected in: /usr/lib/libSystem.B.dylib

I know I am very slow to upgrade things, but I am probably not the only person still using MacOS 10.8.5.

@springmeyer
Copy link
Member Author

should be fixed by node-mapnik@3.1.1 / Mapbox Studio v0.2.0 (which now supports 10.8 again)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants