首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在MacOS 10.12.6上构建Litecoin的加速问题

在MacOS 10.12.6上构建Litecoin的加速问题
EN

Stack Overflow用户
提问于 2017-09-21 05:26:00
回答 1查看 188关注 0票数 0

我已经从master分支中拉出了Litecoin,当我尝试在OSX上构建时,我得到了错误:

代码语言:javascript
复制
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

我正在运行通过Homebrew安装的1.65.1版本的macOS sera10.12.6 Boost,安装位置为: /usr/local/Cellar/boost/1.65.1/

Litecoin Core: 0.13.99我已经尝试卸载boost并从这里提到的源代码构建:https://github.com/litecoin-project/litecoin/issues/170

我得到了同样的错误。我已经确保安装了所需的所有依赖项,但似乎在某个地方存在增强问题。

从master和./autogen.sh - ./configure - make中重新获取会生成以下日志:

https://pastebin.com/byUg2msu

EN

回答 1

Stack Overflow用户

发布于 2017-10-12 15:37:48

原来这是一个链接器错误,我卸载了boost,重新安装了它,然后

brew link boost --force

在那之后工作得很好

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46332011

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档