Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Last active December 11, 2019 15:29
Show Gist options
  • Save sam0x17/2fed69ede23e05a31f90748b49bf7076 to your computer and use it in GitHub Desktop.
Save sam0x17/2fed69ede23e05a31f90748b49bf7076 to your computer and use it in GitHub Desktop.
other macos openssl rvm fix

for me, adding these lines to my .zshrc file fixed it completely:

export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
export PKG_CONFIG_PATH="PKG_CONFIG_PATH:/usr/local/opt/[email protected]/lib/pkgconfig"

These lines were in the comments when I ran brew link openssl

It also turned out I had an existing PKG_CONFIG_PATH line set for a previous version of openssl, so I removed that.

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