openssl安装以及gcc编译链接

来源:互联网 发布:0708伤感网络红歌大全 编辑:程序博客网 时间:2024/05/16 18:23

1.源代码安装时,源代码在window的共享目录下,mount到linux,在linux下make的时候出现 No rule to make target `../include/openssl/asn1.h', needed by `bntest.o',拷贝源代码在linux的自己的任意目录下就能make成功了

2.openssl安装/usr/local/ssl下,在gcc的时候加上-I/usr/local/ssl/include/ -lssl -lcrypto  -ldl -L/usr/local/ssl/lib

0 0
原创粉丝点击