0

这是我得到的错误:

checking for boostlib >= 1.58.0 (105800)... configure: 
We could not detect the boost libraries (version 1.58.0 or higher). 
If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  
If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
configure: error: Boost is not available!

我在最新版本的 macOS big sur 上,我用自制软件安装了 boost。我认为 boost 应该安装在 usr/local/include 中,但对我来说,它安装在 /opt/homebrew/opt/boost 中。这可能是问题吗?我使用符号链接从 usr/local/include 转到 /opt/homebrew/opt/boost,但是当我进入比特币文件夹然后运行 ​​./configure 时它不起作用。

4

1 回答 1

0
    export BOOST_ROOT=/opt/homebrew/opt/boost
    ./configure --with-gui=no --without-bdb --with-boost=$BOOST_ROOT

您的选择可能会有所不同

于 2021-04-30T14:34:27.840 回答