LoginSignup
0
0

More than 5 years have passed since last update.

brewでMySQLを5.7にしたらmysql2 gemがld: library not found for -lsslでインストールできない

Posted at

環境: macOS High Sierra

rails環境でbundleインストールを実行したところこんなエラーが出た

linking shared-object mysql2/mysql2.bundle
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mysql2.bundle] Error 1

xcode-select --install

を実行すると通るようになった。

再起動はしなくてもいけたが、できなければ再起動も試してみるといいかも。

参考

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