1
1

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 5 years have passed since last update.

Mac(macOS Mojave)でnginxが起動しなくなったけど直ったメモ

1
Posted at

エラー内容

sudo nginx                                                                                                                                                                                                                           ✘ 134 
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/nginx
  Reason: image not found
[1]    15059 abort      sudo nginx
sudo nginx                                                                                                                                                                                                                           ✘ 134 
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/nginx
  Reason: image not found
[1]    15059 abort      sudo nginx

やったこと

brew switch openssl 1.0.2s

なぜ動くようになるかはわからない
nginxが新しいバージョン(?)のopensslに対応していないのかもしれない

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?