在原始的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
关于macos - brew install bind失败,并显示“配置:错误:未找到OpenSSL…”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24266696/