ubuntuc++怎么添加openssl
1、通过工具找到解决方法: 正是因为解压方式不对导致该错误,重新解压便能成功安装。安装过程如下:解压文件

2、配置./config --prefix=/usr/local/openssl --opens衡痕贤伎sldir=/usr/local/openssl编译make安装sudo make install设置环境变量sudo gedit ~/.bashrc在最后一行添加export PATH=/usr/local/openssl/bin:$PATH保存退出,使用source ~/.bashrc使其立即生效。

3、搜索引擎搜索openssl或直接进入网址,点击网页右边栏目home下的Downloads:衡痕贤伎sourcecode点击gitrepository或clone文件,后者是下载zip压缩如果你下载的是压缩包,那么先要进行解压缩,以下是几种不同压缩包的解压方式$unziparchive_name.zip(zip)或 $tar-xvf archive_name.tar.gz (tar)或$tar-zxvf archive_name.tar.gz(tar.gz)或$tar-jcvf archive_name.tar.bz2 directory_to_compress(TAR.BZ2)

4、cd到文件下,$./configure 或 $./config$ make$sudo make install$sudo idconfig (由于openssl默认安装在/usr/bin/ 下,故而我们需要update动态链接库中所需的连接和缓存文件)$openssl version -a(即可观察所安装的openssl的版本信息)
