Centos7安装libsodium

问题描述

Unable to establish SSL connection. 
[Error] Download libsodium-stable.tar.gz failed.

手动替换下载源并解压

wget https://down.24kplus.com/linux/libsodium-1.0.18-stable.tar.gz
tar -zxf libsodium-1.0.18-stable.tar.gz
cd libsodium-stable

编译安装

./configure --prefix=/usr
make && make check
sudo make install
sudo ldconfig

参考文献

【1】CentOS 7/8 安装 libsodium 最新版

你可能感兴趣的:(Centos)