【发布时间】:2017-09-20 21:25:59
【问题描述】:
我已经从 master 分支中提取了 Litecoin,当我尝试在 OSX 上构建时,我得到了错误:
CXXLD litecoind
Undefined symbols for architecture x86_64:
"boost::this_thread::hiden::sleep_for(timespec const&)", referenced from:
MilliSleep(long long) in libbitcoin_util.a(libbitcoin_util_a-utiltime.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [litecoind] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
我正在运行 macOS Sierra 10.12.6 通过 Homebrew 安装的 Boost 版本是 1.65.1 在地点: /usr/local/Cellar/boost/1.65.1/
莱特币核心:0.13.99 我已经尝试卸载 boost 并从源代码构建,如此处所述: https://github.com/litecoin-project/litecoin/issues/170
我得到同样的错误。 我已确保安装了所有所需的依赖项,但似乎在某处是一个提升问题。
来自 master 和 ./autogen.sh - ./configure - make 的全新拉动会生成以下日志:
【问题讨论】:
-
你在 boost.org 邮件列表中提到过这个吗?
标签: c++ macos boost bitcoin bitcoind