惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
V
Visual Studio Blog
P
Privacy International News Feed
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Webroot Blog
Webroot Blog
T
Threatpost
宝玉的分享
宝玉的分享
The Last Watchdog
The Last Watchdog
小众软件
小众软件
L
LINUX DO - 最新话题
C
Cisco Blogs
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
罗磊的独立博客
V
V2EX
博客园 - Franky
P
Proofpoint News Feed
SecWiki News
SecWiki News
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
PCI Perspectives
PCI Perspectives
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题

博客园 - CrunchYou

VMWare虚拟机Bridged类型网卡ping不通的原因和解决办法 CentOS以及Oracle数据库发展历史及各版本新功能介绍, 便于构造环境时有个对应关系 virtio-blk简介[转] UML基础与Rose建模实训教程 实现阶段, 详细设计, 编码过程中的控制与管理 应用系统部署后远程备份 POSIX正则表达式 修改msde登录方式,设置sa密码为空 windows脚本调用批处理 诗经 全文 转:ADO.NET连接字符串 MindProject R6025解决 颜色的搭配适用,摘自某论坛 准确理解SO_REUSEADDR [转]UDP穿透NAT的原理与实现(UDP“打洞”原理) [转载]QQ空间技术架构之深刻揭密 Eclipse快捷键大全(转载) boost编译过程 -- linux log4cxx编译过程–linux
openssl的编译 - linux
CrunchYou · 2013-04-27 · via 博客园 - CrunchYou

环境: CentOS 6.3 gcc-4.4.6 openssl-1.0.1c

CentOS 6.3安装时, 选择了openssl组件的, 但最高版本为1.0.0e. 我们程序中使用的版本为
1.0.1c. 所以需要自己动手下载openssl-1.0.1c, 然后手动安装.
OS自带的openssl安装后, lib是在/usr/lib下, include在/usr/include下.

openssl在linux下的比windows下还要简单一些.
首先查看openssl解压后, 根目录下的INSTALL文件.
里面会告诉编译前的准备和编译步骤.

1 准备工作:
  主要是perl 5.0以上的版本.
  yum install perl.i686 –> yum list perl 可以查看名称

2 ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl threads zlib shared
  INSTALl 有各项参数的说明

3 make

4 make test - 如果需要test的话.

5 make install

--> 完成. include和lib, ssl可执行文件等, 在/usr/local/openssl下.

如果不指定--prefix和--openssldir, 那么, 生成的文件在
/usr/local/include, /usr/local/lib, /usr/local/ssl这三个目录下
--prefix是指定include和lib install路径
--openssldir是指定bin  certs  man  misc  openssl.cnf  private的安装路径