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

dyld: Library not loaded #3

Open
crstin opened this issue Feb 18, 2017 · 3 comments
Open

dyld: Library not loaded #3

crstin opened this issue Feb 18, 2017 · 3 comments

Comments

@crstin
Copy link

crstin commented Feb 18, 2017

Mine's not working

./arguing-robots examples/montreal-in-the-winter.txt
dyld: Library not loaded: /usr/local/opt/bdw-gc/lib/libgc.1.dylib
  Referenced from: /Users/user/Coding/Bash/arguing-robots/./arguing-robots
  Reason: image not found
[1]    50604 abort      ./arguing-robots examples/montreal-in-the-winter.txt
@christophemarois
Copy link
Owner

It seems like the Crystal compiler sometimes has problems linking dynamic libraries, as this issue suggests. I'll try recompiling it by linking the dylib you're missing.

If you wanna compile the program yourself in the meanwhile, just install crystall and run crystal build arguing-robots.cr --release

@crstin
Copy link
Author

crstin commented Feb 18, 2017

Thanks! I'll wait for your recompile. brew install crystal-lang forces me to install llvm keg as a dep. That's too much for me to accept :) No crystal for me.

@christophemarois
Copy link
Owner

I'm still trying to understand how to link the .dylib. However the guys in #2 seem to have found a solution!

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

2 participants