配置错误:在Mac OS Sierra上找不到libevent

时间:2018-01-03 17:57:15

标签: macos configure bitcoin libevent

我正在尝试编译比特币库并且它会抛出此错误

checking for mismatched boost c++11 scoped enums... mismatched
checking for SSL... yes
checking for CRYPTO... yes
checking for EVENT... no
configure: error: libevent not found.

我确实通过

安装了libevent
brew install libevent

我看到libevent核心文件位于/ usr / local / lib中,但它无法正常工作。

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我尝试使用brew安装pkg-config,然后在配置时可以找到libevent。

类似问题有一个链接 - https://github.com/bitcoin/bitcoin/issues/11996