在 os x yosemite 中更新 Openssl
Updating Openssl in os x yosemite
-- 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 给你的建议呢?在 运行ning cmake 之前,运行 export OPENSSL_ROOT_DIR=$(brew --prefix openssl)
在同一个终端会话中。
好的,所以我解决了问题,我在 zsh 中使用 http://ohmyz.sh 和更新 "PATH" 是一团糟。
卸载 zsh 并使用 "brew" 重新安装所有内容后解决问题。
现在一切正常:)
-- 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 给你的建议呢?在 运行ning cmake 之前,运行 export OPENSSL_ROOT_DIR=$(brew --prefix openssl)
在同一个终端会话中。
好的,所以我解决了问题,我在 zsh 中使用 http://ohmyz.sh 和更新 "PATH" 是一团糟。 卸载 zsh 并使用 "brew" 重新安装所有内容后解决问题。 现在一切正常:)