Cam*_* S. 2 macos homebrew openssl bind
在原始OS X Mavricks(10.9.3)安装上,当我运行以下命令时,我收到以下错误.
命令:
brew install bind
Run Code Online (Sandbox Code Playgroud)
错误:
==> ./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
Run Code Online (Sandbox Code Playgroud)
由于OS X 10.9已经附带openSSL,我尝试了以下内容,但它给出了相同的消息:
brew install bind --with-ssl=/usr/local/opt/openssl
Run Code Online (Sandbox Code Playgroud)
什么是最好的修复方法?
对不起,简单的回答,这解决了它:
ln -s /usr/local/opt/openssl /usr/local/ssl
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5144 次 |
| 最近记录: |