Skip to content

Instantly share code, notes, and snippets.

@FootballFan141
Forked from llbbl/fix_openssl_catalina.sh
Created January 24, 2020 23:48
Show Gist options
  • Save FootballFan141/4ed7488a2836af28aa3dbc73807ecde2 to your computer and use it in GitHub Desktop.
Save FootballFan141/4ed7488a2836af28aa3dbc73807ecde2 to your computer and use it in GitHub Desktop.
fix missing openssl files in catalina
#!/bin/bash
echo 'update brew'
brew update
echo 'upgrade brew'
brew upgrade
echo 'brew install openssl'
brew install openssl
echo 'copy two openssl lib files'
cd /usr/local/Cellar/openssl/1.0.2t/lib
sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/
cd /usr/local/lib
echo 'backup existing lib files, if they exist'
mv libssl.dylib libssl_bak.dylib
mv libcrypto.dylib libcrypto_bak.dylib
echo 'add symlink to missing openssl libs'
sudo ln -s libssl.1.0.0.dylib libssl.dylib
sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment