在Ubuntu中安装openssl
来源:互联网 发布:手机淘宝6.5.0旧版本 编辑:程序博客网 时间:2024/05/01 07:28
ubuntu12.04上自带安装了1.0.1版本的OpenSSL,由于需要调试1.0.1m版本的代码,所以在官网上下载openssl1.0.1m源码包进行安装。但在安装过程中出现以下错误:
md2test.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
通过google找到解决方法:
The problem is that md2test.c is actually a symbolic link, or symlink to dummytest.c.If you extracted openssl-1.0.1m.tar.gz with anything other than tar xf openssl-1.0.1m.tar.gz
then these symlinks were not preserved.
正是因为解压方式不对导致该错误,重新解压便能成功安装。安装过程如下:
- 解压文件
tar -xf openssl-1.0.1m.tar.gz
- 配置
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
- 编译
make
安装
sudo make install
设置环境变量
sudo gedit ~/.bashrc
在最后一行添加export PATH=/usr/local/openssl/bin:$PATH
保存退出,使用source ~/.bashrc
使其立即生效。
1 0
- 在Ubuntu中安装openssl
- 在Ubuntu中安装openssl
- 在Centos与Ubuntu下安装openssl
- ubuntu下安装openssl
- Ubuntu 安装openssl环境
- Ubuntu安装openssl
- Ubuntu安装OpenSSL
- Ubuntu 交叉编译 OpenSSL,并在 Android 中使用
- 在Windows系统上安装OpenSSL及在VS2010中使用OpenSSL
- ubuntu上安装测试openssl
- ubuntu 14.04下安装openssl
- ubuntu下安装openssl库
- ubuntu下如何安装openssl
- ubuntu 14.04下安装openssl
- ubuntu 中更新openssl库
- 在UBUNTU中安装MYSQL
- 在VirtualBox中安装Ubuntu
- 在ubuntu中安装IE6
- 经典算法-统计0~n之间的数字二进制的1的个数
- springMVC-mvc:view-controller path使用方法
- python 随机生成字符串
- POJ 2253 Frogger 每条路径最大边然后选择这些最大边的最小的那个边 题解。。。根本翻译不出来
- javascript 详解document.write()方法
- 在Ubuntu中安装openssl
- hdu1698 Just a Hook--区间更新
- sublime text安装插件
- 利用iis虚拟目录实现文件服务器功能(分布式存储)
- 在C++中获取蓝图类
- Kinect开发学习笔记之(二)Kinect开发学习资源整理
- 存储过程脚本心得
- Spring容器启动过程
- php中进程锁和多进程的实现