LoginSignup
28
32

More than 5 years have passed since last update.

brew link openssl --forceができない問題

Posted at

error_msg

Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

http://blog.yukarien.com/tech/openssl-versionup/

上記サイトでopensslをバージョンアップした時の問題解決

どうやらopensslへのlinkは貼れなくなったらしい

http://qiita.com/chatii0079/items/b30cf35c4ec9bdf8dd70
brew で openssl をリンクできなくしたようで、コンパイラにパスを渡してねって言ってる

set -U fish_user_paths $fish_user_paths /usr/local/opt/openssl/bin

fisherなのでfishですが、要はpathを通せばおk

which openssl
/usr/bin/opensslから/usr/local/opt/openssl/bin/になっている。
openssl version
OpenSSL 1.0.2h 3 May 2016

1.0.2がインストールされてますね。おk!

28
32
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
28
32