gpt4 book ai didi

openssl - ownCloud客户端编译报错 'Could NOT find OpenSSL'

转载 作者:行者123 更新时间:2023-12-01 15:56:06 26 4
gpt4 key购买 nike

我正在尝试通过桌面编译 ownCloud-client。但它给出了以下错误:

cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_PREFIX_PATH=/usr/bin/openssl ../client
-- Build of crashreporter disabled.
-- Could not find Qt5, searching for Qt4 instead...
-- GIT_SHA1 71e8910e0261dca4933792b4e38f7d649409d6df
-- If possible compile me with Qt 5.4 which is much faster/better.
-- neon-config executable: /usr/bin/neon-config
-- libneon has not been compiled with LFS support, rely on OS
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES
OPENSSL_INCLUDE_DIR) (Required is at least version "1.0.0")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenSSL.cmake:313 (find_package_handle_standard_args)
CMakeLists.txt:146 (find_package)


-- Configuring incomplete, errors occurred!

操作系统为Ubuntu 14.04,openssl安装在地址/usr/bin/openss。我还运行了 cmake -DCMAKE_BUILD_TYPE="Debug"-DCMAKE_PREFIX_PATH=/usr/bin/openssl ../client,但没有任何改变。

我如何解决云问题?

最佳答案

尝试安装 libssl-dev 包

apt-get install libssl-dev

关于openssl - ownCloud客户端编译报错 'Could NOT find OpenSSL',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29460601/

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