Skip to content

Instantly share code, notes, and snippets.

@forsaken1
Created January 24, 2019 04:40
Show Gist options
  • Save forsaken1/c30816f5ffc1e922f0fa0063634d83c2 to your computer and use it in GitHub Desktop.
Save forsaken1/c30816f5ffc1e922f0fa0063634d83c2 to your computer and use it in GitHub Desktop.
troubles
trouble:
➜ amber w
02:25:02 Watch run | (INFO) Building...
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/forsaken/projects/triathlets/bin/triathlets' -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lyaml -lpcre -lgc -lpthread /usr/local/Cellar/crystal/0.27.0/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
02:25:06 Watch run | (INFO) Compile time errors detected, exiting...
solution:
➜ export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment