【问题标题】:Configure error: libevent not found on Mac OS Sierra配置错误:在 Mac OS Sierra 上找不到 libevent
【发布时间】:2018-01-03 17:57:15
【问题描述】:

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

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 中,但它无法正常工作。

如何解决这个问题?

【问题讨论】:

    标签: macos configure bitcoin libevent


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-03
      • 1970-01-01
      • 1970-01-01
      • 2019-02-15
      • 2018-10-07
      相关资源
      最近更新 更多