zoukankan      html  css  js  c++  java
  • missing: OPENSSL_CRYPTO_LIBRARY

    CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
    system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
    OPENSSL_INCLUDE_DIR) (Required is at least version "1.1.0")

    apt-get install libssl-dev

    root@cloud:~/ jan/build# cmake .. -DENABLE_MYSQL=OFF -DFORCE_TCP_FASTOPEN=ON -DSYSTEMD_SERVICE=AUTO -DENABLE_SSL_KEYLOG=OFF
    -- Found Boost 1.70.0 at /usr/local/lib/cmake/Boost-1.70.0
    --   Requested configuration: QUIET REQUIRED COMPONENTS system;program_options
    -- Found boost_headers 1.70.0 at /usr/local/lib/cmake/boost_headers-1.70.0
    -- Found boost_system 1.70.0 at /usr/local/lib/cmake/boost_system-1.70.0
    --   libboost_system.a
    -- Adding boost_system dependencies: headers
    -- Found boost_program_options 1.70.0 at /usr/local/lib/cmake/boost_program_options-1.70.0
    --   libboost_program_options.a
    -- Adding boost_program_options dependencies: headers
    -- Boost 1.66.0 found.
    -- Found Boost components:
       system;program_options
    -- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found suitable version "1.1.1", minimum required is "1.1.0") 
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/ jan/build
  • 相关阅读:
    二分查找法
    Three-way Partition
    百面机器学习读书笔记
    天才在左,疯子在右
    Coach Shane's Daily English Dictaion 6-10
    Coach Shane's Daily English Dictation 1-5
    国外有意思的网站
    docker操作指南
    创建docker本地仓库的步骤
    tensorflow去掉warning的方法
  • 原文地址:https://www.cnblogs.com/dream397/p/14207362.html
Copyright © 2011-2022 走看看