Skip to content

Instantly share code, notes, and snippets.

@sondnm
Last active December 28, 2020 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sondnm/16638185b4925e57fb4a5cb1268fc4d8 to your computer and use it in GitHub Desktop.
Save sondnm/16638185b4925e57fb4a5cb1268fc4d8 to your computer and use it in GitHub Desktop.
[MacOS] Install openssl 1.0.2t using brew extract

Kudos to https://github.com/kensoh at aisingapore/TagUI#635 (comment)

brew uninstall openssl
brew tap-new $USER/old-openssl
brew extract --version=1.0.2t openssl $USER/old-openssl
brew install openssl@1.0.2t
brew install openssl
ln -s /usr/local/Cellar/openssl@1.0.2t/1.0.2t/lib/libssl.1.0.0.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
ln -s /usr/local/Cellar/openssl@1.0.2t/1.0.2t/lib/libcrypto.1.0.0.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment