zoukankan      html  css  js  c++  java
  • 编译 curl with ssl

    安装 openssh后,使用 curl 的 ./configure --with-ssl 时,报错“找不到 ssl”。因为 curl在 /usr/local/ssl的安装目录下找动态连接库。而ssl默认不生成动态连接库。解决办法是编译 ssl时使用 enable-shared 生成 动态连接库

    ./config enable-shared

      curl version:     7.41.0
      Host setup:       x86_64-unknown-linux-gnu
      Install prefix:   /usr/local
      Compiler:         gcc
      SSL support:      enabled (OpenSSL)
      SSH support:      no      (--with-libssh2)
      zlib support:     enabled
      GSS-API support:  no      (--with-gssapi)
      TLS-SRP support:  enabled
      resolver:         default (--enable-ares / --enable-threaded-resolver)
      IPv6 support:     enabled
      Unix sockets support: enabled
      IDN support:      no      (--with-{libidn,winidn})
      Build libcurl:    Shared=yes, Static=yes
      Built-in manual:  enabled
      --libcurl option: enabled (--disable-libcurl-option)
      Verbose errors:   enabled (--disable-verbose)
      SSPI support:     no      (--enable-sspi)
      ca cert bundle:   /etc/pki/tls/certs/ca-bundle.crt
      ca cert path:     no
      LDAP support:     no      (--enable-ldap / --with-ldap-lib / --with-lber-lib)
      LDAPS support:    no      (--enable-ldaps)
      RTSP support:     enabled
      RTMP support:     no      (--with-librtmp)
      metalink support: no      (--with-libmetalink)
      HTTP2 support:    disabled (--with-nghttp2)
      Protocols:        DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP

  • 相关阅读:
    JS跨域访问CORS配置
    在Maven中混用Java和Scala
    Linux下开源可视化工具Caravel安装(包含缺少js解决办法)
    linux环境下NPM安装小结(淘宝镜像)
    Spark学习笔记
    导出HBase数据到Excel(Java代码)
    Spark通过JdbcRdd连接Oracle数据库(scala)
    基于AngularJS+Bootstrap的多文件上传与管理
    Hadoop-1.2.1 安装步骤小结(ubuntu)
    git-remote-https.exe 无法找到入口
  • 原文地址:https://www.cnblogs.com/diylab/p/4371419.html
Copyright © 2011-2022 走看看