1、ubuntu/debian可以直接依赖安装:
sudo apt-get install openssl
sudo apt-get install libssl-dev
2、在mac os下:
首先,安装brew包依赖管理工具
brew install openssl
brew link openssl --force
2、编译安装:
在makefile中添加 -lcrypto -lssl
1、ubuntu/debian可以直接依赖安装:
sudo apt-get install openssl
sudo apt-get install libssl-dev
2、在mac os下:
首先,安装brew包依赖管理工具
brew install openssl
brew link openssl --force
2、编译安装:
在makefile中添加 -lcrypto -lssl