注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

欢迎光临我的博客

 
 
 

日志

 
 

clamav 编译报openssl error  

2016-12-14 21:09:50|  分类: 电脑维护 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Clamav  on RHEL - OpenSSL problem

Shawn Webb swebb at sourcefire.com 
Fri May 16 09:06:50 EDT 2014


On Fri, May 16, 2014 at 8:56 AM, Dariusz Wojciechowski <admin at faba.pl>wrote:

> Hello.
>
> I try to compile Clamav 0.98.3 on my quite old server with Red Hat EL 4. I
> guess I have the same issue as Gary on his Mac OSX 10.5.8:
>
> http://comments.gmane.org/gmane.comp.security.virus.clamav.user/39771
>
> I mean too old version of OpenSSL. Configure works fine, but on make I get:
>
> crypto.c: In function `cl_validate_certificate_chain':
> crypto.c:834: error: `X509_VERIFY_PARAM' undeclared (first use in this
> function)
>
> I can't just remove my current OpenSSL from my box due to too many
> dependencies. But I downloaded newer 0.9.8y version, configured it with
> command
>
> ./config --prefix=/usr/local/ssl
>
> Then compiled and installed. And I checked that new version really is
> locates in above directory.
>
> So I got back to Clamav. I entered command:
>
> ./configure --with-openssl=/usr/local/ssl
    ./configure --with-openssl=/usr/local/ssl  --prefix=/opt/clamav --disable-clamav
> > And I got: > > checking for OpenSSL installation... checking for SSL_library_init in > -lssl... no > configure: error: Your OpenSSL installation is misconfigured or missing > > I also tried these: > > export LDFLAGS="-L/usr/local/ssl/lib" > export CPPFLAGS="-I/usr/local/ssl/include/openssl" > > but also, with no success. > > When I check config.log, I find there following lines: > > configure:16632: checking for SSL_library_init in -lssl > configure:16657: gcc -o conftest -I/usr/local/ssl/include > -L/usr/local/ssl/lib -lssl -lcrypto conftest.c -lssl -ldl >&5 > /usr/local/ssl/lib/libssl.a(ssl_algs.o)(.text+0x4): In function > `SSL_library_init': > : undefined reference to `EVP_des_cbc' > > And many, many undefined references to something. But when I go to > /usr/local/ssl/lib/ I find libcrypto.a and libssl.a there. When I look at > the libssl.o with MC's built in viewer I find there following lines: > > ssl_algs.o: > U EVP_add_cipher > U EVP_add_digest > U EVP_aes_128_cbc > U EVP_aes_192_cbc > U EVP_aes_256_cbc > U EVP_des_cbc > U EVP_des_ede3_cbc > U EVP_dss1 > U EVP_ecdsa > U EVP_idea_cbc > U EVP_md5 > U EVP_rc2_cbc > U EVP_rc4 > U EVP_sha1 > U EVP_sha224 > U EVP_sha256 > U EVP_sha384 > U EVP_sha512 > U OBJ_NAME_add > U SSL_COMP_get_compression_methods > 00000000 T SSL_library_init > U ssl_load_ciphers > > So what is going on? What is the problem? > > Thank You very much in advance for Your help. > > Kind regards, > > Dariusz Wojciechowski Hey Dariusz, Can you give the recently-released 0.98.4-rc1 a try? Thanks,

  评论这张
 
阅读(114)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017