brew安装绑定失败,使用" configure:error:找不到OpenSSL ..."

时间:2014-06-17 14:40:45

标签: macos openssl bind homebrew

在原始OS X Mavricks(10.9.3)安装上,当我运行以下命令时,我收到以下错误。

命令:

brew install bind

错误:

==> ./configure --prefix=/usr/local/homebrew/Cellar/bind/9.10.0-P2 --enable-threads --

enable-ipv6 --with-ssl-dir=/usr/local/opt/openssl
checking for sysconf... yes
checking for libtool... no
checking for Source Identity Token support... no
checking for OpenSSL library... configure: error: OpenSSL was not found in any of /usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw; use --with-openssl=/path
If you don't want OpenSSL, use --without-openssl

由于OS X 10.9已经附带openSSL,我尝试了以下内容,但它给出了相同的信息:

brew install bind --with-ssl=/usr/local/opt/openssl

最好的解决方法是什么?

1 个答案:

答案 0 :(得分:7)

很抱歉,很容易回答,这解决了它:

ln -s /usr/local/opt/openssl /usr/local/ssl
相关问题