CentOS上编译myget时报SSL错误的解决办法
来源:互联网 发布:淘宝办签证要资产证明 编辑:程序博客网 时间:2024/05/06 19:57
今天在centos上编译myget,报下面的错误:
make all-recursive
make[1]: Entering directory `/root/soft/myget-0.1.2'
Making all in src
make[2]: Entering directory `/root/soft/myget-0.1.2/src'
g++ -D_FILE_OFFSET_BITS=64 -o mytget debug.o advio.o tcp.o url.o utils.o block.o header.o plugin.o proxy.o task.o http.o httpplugin.o ftp.o ftpparser.o ftpplugin.o downloader.o myget.o mytget.o progressbar.o -lpthread
advio.o: In function `IOStream::write(char*, int, long)':
advio.cpp:(.text+0x709): undefined reference to `SSL_write'
advio.o: In function `IOStream::read(char*, int, long)':
advio.cpp:(.text+0x951): undefined reference to `SSL_read'
advio.cpp:(.text+0x983): undefined reference to `SSL_get_error'
advio.o: In function `IOStream::ssl_connect()':
advio.cpp:(.text+0xc8e): undefined reference to `SSL_connect'
advio.cpp:(.text+0xcb1): undefined reference to `SSL_get_error'
advio.o: In function `IOStream::set_fd(int)':
advio.cpp:(.text+0xd22): undefined reference to `SSL_set_fd'
advio.cpp:(.text+0xd30): undefined reference to `SSL_connect'
advio.cpp:(.text+0xd53): undefined reference to `SSL_get_error'
advio.o: In function `IOStream::set_use_ssl(bool)':
advio.cpp:(.text+0xdfb): undefined reference to `SSL_CTX_free'
advio.cpp:(.text+0xe00): undefined reference to `SSLv23_client_method'
advio.cpp:(.text+0xe08): undefined reference to `SSL_CTX_new'
advio.cpp:(.text+0xe1e): undefined reference to `SSL_new'
advio.cpp:(.text+0xe3d): undefined reference to `SSL_set_fd'
advio.cpp:(.text+0xe54): undefined reference to `SSL_shutdown'
advio.cpp:(.text+0xe84): undefined reference to `SSL_CTX_free'
advio.o: In function `IOStream::~IOStream()':
advio.cpp:(.text+0xea5): undefined reference to `SSL_shutdown'
advio.cpp:(.text+0xecb): undefined reference to `SSL_CTX_free'
advio.o: In function `IOStream::~IOStream()':
advio.cpp:(.text+0xef9): undefined reference to `SSL_shutdown'
advio.cpp:(.text+0xf1f): undefined reference to `SSL_CTX_free'
mytget.o: In function `main':
mytget.cpp:(.text+0x2db): undefined reference to `SSL_load_error_strings'
mytget.cpp:(.text+0x2e0): undefined reference to `SSL_library_init'
collect2: ld returned 1 exit status
make[2]: *** [mytget] Error 1
make[2]: Leaving directory `/root/soft/myget-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/myget-0.1.2'
make: *** [all] Error 2
然后我直接复制里面的g++编译语句,后面加上-lssl, 问题解决。
- CentOS上编译myget时报SSL错误的解决办法
- 访问 IIS 7.0 SSL站点时报“HTTP 错误 403.16-禁止访问”的解决办法
- php 5.4.X编译安装时报gd相关的错误(gd_ctx.c)的解决办法
- Vs.net 2005编译或者运行时报“没有找到MSVCR80D.dll...”错误的解决办法
- JSP所有项目在电脑上执行rs.next()时报空指针的错误的解决办法
- idea的svn操作时报Server ssl certificate rejected错误
- centos上redmine2.3.0邮件服务器报ssl错误的解决方案
- VS2008编译时报C1859错误的解决方法
- ant在linux服务器上编译时报incompatible types错误
- CentOS下编译php时的一些典型错误及解决办法.
- CentOS安装交叉编译环境中遇到的错误和解决办法
- CentOS 7编译RTL8192CU网卡驱动出现错误的原因及解决办法
- Intellij IDEA 编译时报“使用过时方法”的解决办法
- maven在编译时报栈溢出的解决办法
- Scribe在CentOS 5.8和6.4上编译不过的解决办法
- 安装SQL Server 2005 时报“-2146233087”错误的解决办法
- MySQL创建Function时报的1418错误代号解决办法
- MySQL创建Function时报的1418错误代号解决办法 log_bin_trust_function_creators
- Linux 中/etc/inittab文件的字段及其说明
- Problem 1607 Greedy division
- Android application context/activity context与内存泄露
- 破解 SQL 加密的存储过程、函数
- 这些歌, 请戴上耳机, 调大音量, 一个人听 ,全世界 都是你的!!!!!
- CentOS上编译myget时报SSL错误的解决办法
- Lua中正则表达式模式。
- LM/NTLM验证机制
- MTracer 注册码
- 用心用两年时间办一件事要好坚持的事!
- Dialog query
- Linux配置IP
- 超出隐藏
- CMMI的5个等级和22个过程域