You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual location: /usr/local/lib//llvm-3.3/lib/libLLVM-3.3.dylib
This could be an OSX thing, since I used homebrew to install llvm-3.3. I thought I may have messed up an Env Var since I'm messing around with emscripten trying to compile Crystal to JavaScript. but printenv came up without anything related to LLVM.
I could symlink the DLL, but why not fix?
The text was updated successfully, but these errors were encountered:
Hm, it seems homebrew changed the location where llvm is installed. I had a previous version and it worked. Now I updated my code and I have the same problem.
I solved it by putting this in my ~/.bash_profile:
What we need to do is to make bin/crystal be a wrapper that sets DYLD_LIBRARY_PATH in the environment and invokes the compiler. I'll keep this ticket open until we do that.
I just updated my copy of crystal source, and when I ran
crystal -h
I got a stack trace due to a failed dlopen call tolibLLVM-3.3.dylib
.Compiler expects location:
/usr/local/lib/LLVM-3.3
Actual location:
/usr/local/lib//llvm-3.3/lib/libLLVM-3.3.dylib
This could be an OSX thing, since I used homebrew to install llvm-3.3. I thought I may have messed up an Env Var since I'm messing around with emscripten trying to compile Crystal to JavaScript. but
printenv
came up without anything related to LLVM.I could symlink the DLL, but why not fix?
The text was updated successfully, but these errors were encountered: