【问题标题】:siege - HTTPS requires libssl - MacOS Mojave围攻 - HTTPS 需要 libssl - MacOS Mojave
【发布时间】:2019-03-15 08:11:25
【问题描述】:

我安装了 SIEGE 4.0.4

我从源安装

我也安装了这个 :D :

brew 安装 openssl 酿造安装zlib

但是我得到了这个错误:

[错误] HTTPS 需要 libssl:无法使用此协议访问 sitename.tld:套接字已连接

【问题讨论】:

    标签: macos openssl macos-mojave siege


    【解决方案1】:

    通过brew 安装对我有用:

    brew install siege
    

    您可能还需要按照说明设置标志:

    如果您需要在 PATH 运行中首先使用 openssl:

    echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
    

    要让编译器找到 openssl,您可能需要设置:

    export LDFLAGS="-L/usr/local/opt/openssl/lib"
    export CPPFLAGS="-I/usr/local/opt/openssl/include"
    

    注意:这是在 this answer 中提出的,但我无法将其标记为重复,因为它尚未被接受。

    【讨论】:

      猜你喜欢
      • 2017-07-11
      • 1970-01-01
      • 1970-01-01
      • 2019-06-22
      • 2019-03-02
      • 2019-07-11
      • 2020-07-16
      • 2019-03-27
      • 1970-01-01
      相关资源
      最近更新 更多