您好,欢迎来到99网。
搜索
您的当前位置:首页[centos]centos7源码编译cmake报错Could NOT find OpenSSL

[centos]centos7源码编译cmake报错Could NOT find OpenSSL

来源:99网

测试环境:

centos7.9

cmake==3.25.0

./bootstrap以后报错如下:

Could NOT find , try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at Utilities/cmcurl/CMakeLists.txt:485 (message):
  Could not find OpenSSL.  Install an OpenSSL development package or
  configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.

解决方法:

sudo yum install  -y openssl  openssl-devel 即可解决问题

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- 99spj.com 版权所有 湘ICP备2022005869号-5

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务