Mac OS Mojave以降でのopensslの問題
今更ながらMojaveに更新し,gitをコマンドラインで使おうとしたら下のようなエラーが出た.
$ git pull dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib Referenced from: /usr/local/bin/ssh Reason: image not found fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
解決は以下.
$ brew update && brew upgrade $ brew upgrade openssh
opensslの誤記ではないので念のため.
しかしlaunchdを設定して動かしている自動コミット・プッシュのほうは問題なく動いているので,本質的にはパーミッションの問題らしい.