Skip to content

Instantly share code, notes, and snippets.

@aklap
Created October 17, 2016 04:25
Show Gist options
  • Save aklap/e885721ef15c8668ed0a1dd64d2ea1a7 to your computer and use it in GitHub Desktop.
Save aklap/e885721ef15c8668ed0a1dd64d2ea1a7 to your computer and use it in GitHub Desktop.
Resolving missing link to libcrypto/openssl on OSX
@joelparkerhenderson
Copy link

In case anyone here is trying this on macOS with brew and the toolmise or `asdf , this is what worked for me:

brew install gcc readline zlib curl [email protected] ossp-uuid icu4c pkg-config
PKG_CONFIG_PATH="$(brew --prefix)/lib/pkgconfig:$(brew --prefix icu4c)/lib/pkgconfig" \
LDFLAGS="-L$(brew --prefix)/lib" \
CPPFLAGS="-I$(brew --prefix)/include" \
mise use postgres@17 --verbose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment