4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

libssl.1.0.0.dylibがないことでエラーになった時の対処法 dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init

Last updated at Posted at 2020-01-11

Railsを久しぶりに起動しようとしたらなんかエラーが起きていた。

masashi-no-mbp:MarimoKing pcuser$ rails s
dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init
  Referenced from: /Users/pcuser/.rbenv/versions/2.6.0/lib/ruby/2.6.0/x86_64-darwin18/openssl.bundle
  Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

結果としては、rbenvで入れていたRubyのリンクの設定が原因でダメだったみたい。

対処法

Rubyを入れ直すことで解消した。

$ rbenv uninstall 2.6.0 && rbenv install 2.6.0

参考リンク

[MEMO] gem コマンドで Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib が出たときの対処法

4
2
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
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?