---
title: "Mac polysh无法安装"
author: "xphwv"
date: "2017-09-28T15:33:27Z"
tags: []
categories: ["操作系统"]
slug: "mac-polysh"
draft: false
lastmod: "2017-09-28T15:38:56Z"
id: 2394841
url: "https://xphwv.iteye.com/blog/2394841"
---

**无法安装**

`configure: error: --with-ssl=openssl was given, but SSL is not available.`

 **安装homebrew**

```
cd /usr/bin/ruby
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

 **安装libressl**

 brew install wget --with-libressl

 

安装命令如下：

```
wget wget http://guichaz.free.fr/polysh/files/polysh-0.4.tar.gz
tar -zxvf polysh-0.4.tar.gz
cd polysh-0.4
sudo python setup.py install
```

即可安装成功，安装成功 。命令：`/usr/bin/polysh`

 

使用：

polysh '101.50.44.4&lt;1-5&gt;'