在原始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
什么是最好的修复方法?
对不起,简单的回答,这解决了它:
ln -s /usr/local/opt/openssl /usr/local/ssl