上坦缺网查找资料得到是由于未安装仿竖openssl-devel包,执行以下两条命令更新后就可以了
sudo apt-get install openssl
sudo apt-get install libssl-dev
方法一、直接安装
yum install openssl openssl-devel
方法二、下载源码编译安装
下载
wget https://www.openssl.org/source/openssl-1.0.2h.tar.gz
解压
tar zxf openssl-1.0.2h.tar.gz
安装
cd openssl-1.0.2h./config shared zlib
because of configuration changes, you MUST do the following before
*** building:
提醒需要在build之戚山前做make depend
make depend
make install
mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl /usr/include/openssl.bak
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
echo “哪段/usr/local/ssl/lib” >>/etc/ld.so.conf
ldconfig -v
检测高缓中安装是否成功:openssl version -a
检查是否袜尘已安装openssl:告山禅\x0d\x0asudo apt-get install openssl\x0d\x0a如果已安装执行以下 *** 作:\x0d\x0asudo apt-get install libssl-dev\x0d\x0asudo apt-get install libssl0.9.8\x0d\x0a\x0d\x0aUbuntu 下安装 GTK+ 开发唯悉库\x0d\x0asudo apt-get install libgtk2.0-dev欢迎分享,转载请注明来源:内存溢出
评论列表(0条)