在原始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
最好的解决方法是什么?
答案 0 :(得分:7)
很抱歉,很容易回答,这解决了它:
ln -s /usr/local/opt/openssl /usr/local/ssl