macos – 如何使用libssl安装Siege?

我试图在Mac OS 10.12上安装带有libssl的
Siege,但是当我对https url使用该实用程序时,我收到以下错误.

[error] HTTPS requires libssl: Unable to reach 07001
with this protocol: Socket is already connected

我使用此wiki中的以下命令进行安装:

./configure --with-ssl
make
make install

最佳答案 用brew来安装围攻.

它解决了我的问题.我唯一需要做的就是连接围攻.

https://coderwall.com/p/qfrk1w/making-siege-work-with-https-on-os-x-mavericks
brew卸载围攻
brew安装openssl
brew link –force openssl
brew安装围攻

ti必须做的额外步骤(Mac OS Sierra低).
ln -s /usr/local/Cellar/siege/4.0.4/bin/siege /usr/local/bin / siege.

点赞