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
  • 相关阅读:
    go语言学习-接口
    go语言学习-函数
    go语言学习-常用命令
    go语言学习-数组-切片-map
    go语言学习-基础知识
    go语言学习-安装和配置
    python套接字基本使用
    debian 10 firewall-cmd --reload 报错
    synchronized 关键字
    Filebeat+Kafka+Logstash+ElasticSearch+Kibana 日志采集方案
  • 原文地址:https://www.cnblogs.com/dream397/p/14207362.html
Copyright © 2011-2022 走看看