LoginSignup
15
9

More than 3 years have passed since last update.

5秒で直す Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

Last updated at Posted at 2020-05-26

結論

brew switch openssl 1.0.2s で直る。

バージョンは環境によって異なるので、 ls /usr/local/Cellar/openssl で存在するバージョンを調べて
brew switch openssl バージョン名 とする。

検証環境

  • ruby 2.5.0p0
  • Mac Book Pro (Catalina 10.15.4)

背景

pod install 時にこのエラーが出た。
rubyのopensslのバージョンが固定されていることが問題みたい。
他の記事を参考にbrew update && brew upgradeしてみたが直らず。
「rubyを再インストールする」という解決法もあるみたいだが、rubyの再インストールは面倒くさい。。。

と思っていたら、スタックオーバーフローに書いてある方法で速攻で解決した。
https://stackoverflow.com/questions/59006602/dyld-library-not-loaded-usr-local-opt-openssl-lib-libssl-1-0-0-dylib

15
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
9