-- 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”安装openssl最新版本1.0.2,并使用“mac ports”,但仍然没有运气。在os x yosemite中更新Openssl
也试图给路径作为前缀“cmake的” 失败
用最新版本替换为“OpenSSL”和“libcrypto”的dylib,使他们的别名失败
所以任何人都有解决方案? 我正试图建立 https://github.com/owncloud/client
这是一个与开发相关的软件的构建问题,所以我认为它就在这里。请注意,“用最新版本替换”openssl“和”libcrypto“的dylib并将其别名”是BAAAAAAD的主意。/usr/lib是Apple-land,您应该*永远不* *永远*手动修改它。你可能会破坏你的系统。 (幸运的是,并不是很多苹果公司的东西仍然使用OpenSSL,但这只是运气)。请注意,你也不应该混合酿造和MacPorts - 这是要求灾难。要解决您的问题,您需要添加包含和库搜索路径的正确路径。 – neverpanic 2015-03-13 18:23:11
嗨@Hamdullah沙阿,我有同样的问题。你找到一些解决方案来更新这个库吗?:P – 2015-06-01 14:04:56
@MarcinMierzejewski,现在检查答案:) – 2015-06-03 05:15:10