MENU

CentOS编译libsodium以支持chacha20等高级加密方式

 yum groupinstall "Development Tools"  -y
wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz

tar xzvf libsodium-1.0.16.tar.gz
cd libsodium-1.0.16
./configure
make -j8 && make install
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf`
ldconfig