gpt4 book ai didi

macos - 在 os x yosemite 中更新 Openssl

转载 作者:行者123 更新时间:2023-12-03 13:31:08 24 4
gpt4 key购买 nike

-- Build of crashreporter disabled.
-- Found Qt5 core, checking for further dependencies...
-- Using Qt 5!
-- GIT_SHA1 40cdbda31285d9090d8109b10b244aa4740a5891
-- Using Qt 5.4.x
-- We would not require Neon in this setup, compile without!
CMake Error at /usr/local/Cellar/cmake/3.1.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR: Found unsuitable version "0.9.8zc", but
required is at least "1.0.0" (found
/usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.1.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:372 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.1.3/share/cmake/Modules/FindOpenSSL.cmake:318 (find_package_handle_standard_args)
CMakeLists.txt:146 (find_package)

-- Configuring incomplete, errors occurred!

尝试使用“brew”和“mac ports”安装 openssl 最新版本 1.0.2,但仍然没有成功。

还尝试将路径作为“cmake”的前缀FAILED

将“openssl”和“libcrypto”的dylib替换为最新版本并为其设置别名FAILED

所以有人有解决方案吗???我正在尝试构建 https://github.com/owncloud/client

最佳答案

为什么不采纳 cmake 给你的建议呢?在运行 cmake 之前,请在同一终端 session 中运行 export OPENSSL_ROOT_DIR=$(brew --prefix openssl)

关于macos - 在 os x yosemite 中更新 Openssl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29033432/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com