GmSSL源码:https://github.com/guanzhi/GmSSL
解压zip文件
按照GmSSL-master内md文件安装即可
终端输入
unzip GmSSL-master.zip
cd GmSSL-master
mkdir build
cd build
cmake ..
make
make test
sudo make install
查看版本
终端输入
gmssl version
报错gmssl:error while loading shared libraries: libgmssl.so.3: cannot open shared object file: No such file or directory
解决方案
进入root模式,否则权限不够
终端输入
su root
cat /etc/ld.so.conf
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
问题解决