【问题标题】:No package 'libcrypto' found in mac在 mac 中找不到包“libcrypto”
【发布时间】:2019-09-17 04:47:32
【问题描述】:

我有一个关于 openssl lib 的问题。我正在运行 cmake 命令,我看到了这个错误:没有找到包 'libcrypto'。你能帮忙吗?

-- Checking for module 'libcrypto'
--   No package 'libcrypto' found
CMake Error at /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/FindPkgConfig.cmake:458 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/FindPkgConfig.cmake:637 (_pkg_check_modules_internal)
  PlaylistParser/src/CMakeLists.txt:2 (pkg_check_modules)

这是我的 openssl 列表:

/usr/local/Cellar/openssl/1.0.2s/.bottle/etc/ (8 files)
/usr/local/Cellar/openssl/1.0.2s/bin/c_rehash
/usr/local/Cellar/openssl/1.0.2s/bin/openssl
/usr/local/Cellar/openssl/1.0.2s/include/openssl/ (75 files)
/usr/local/Cellar/openssl/1.0.2s/lib/libcrypto.1.0.0.dylib
/usr/local/Cellar/openssl/1.0.2s/lib/libssl.1.0.0.dylib
/usr/local/Cellar/openssl/1.0.2s/lib/engines/ (12 files)
/usr/local/Cellar/openssl/1.0.2s/lib/pkgconfig/ (3 files)
/usr/local/Cellar/openssl/1.0.2s/lib/ (4 other files)
/usr/local/Cellar/openssl/1.0.2s/share/man/ (1683 files)

【问题讨论】:

  • 这个链接有问题吗?

标签: macos c++11 openssl libcrypto


【解决方案1】:

您的路径似乎有问题 https://github.com/scipr-lab/libsnark/issues/99

试试这个可能会有帮助

【讨论】:

    猜你喜欢
    • 2012-11-28
    • 1970-01-01
    • 2012-05-09
    • 2021-01-10
    • 1970-01-01
    • 2017-12-25
    • 2017-02-10
    • 2018-11-16
    相关资源
    最近更新 更多