arguing-robots
arguing-robots copied to clipboard
dyld: Library not loaded
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
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
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.
I'm still trying to understand how to link the .dylib
. However the guys in #2 seem to have found a solution!