-
Notifications
You must be signed in to change notification settings - Fork 206
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
amber watch failed on "Quick Start" #971
Comments
Can you compile a simple crystal program? Try this:
|
Analyzing your logs, I think this is an openssl issue on macOS, see: crystal-lang/crystal#6875 |
Did the trick. Thank you |
Thanks. |
Try this: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got this error after starting amber watch (very new to web dev)
$ amber watch
command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'
11:43:11 Watcher | (INFO) Watching 18 files (server reload)...
11:43:11 Watcher | (INFO) Building project Pet-tracker...
ld: warning: directory not found for option '-L/opt/brew/lib'
ld: warning: directory not found for option '-L/opt/brew/lib'
ld: warning: directory not found for option '-L/opt/brew/lib'
ld: warning: directory not found for option '-L/opt/brew/lib'
ld: library not found for -lssl (this usually means you need to install the development package for libssl)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1:
cc "${@}" -o '/Users/bradhutchins/pet-tracker/bin/pet-tracker' -rdynamic -lz
command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'-lyaml -lpcre -lgc -lpthread /usr/local/Cellar/crystal/0.26.1_1/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib
11:43:36 Watcher | (INFO) Compile time errors detected. Shutting down...
Using...
MacBook Pro (15-inch, 2016), OSX 10.14
The text was updated successfully, but these errors were encountered: