首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >libssl的Hadoop (1.0.1)编译错误

libssl的Hadoop (1.0.1)编译错误
EN

Stack Overflow用户
提问于 2012-08-07 11:11:54
回答 1查看 735关注 0票数 2

出于某种原因,我需要使用以下命令编译Hadoop:

代码语言:javascript
复制
$ ant compile -Dcompile.c++=true -Dlibhdfs=true

然后,它以以下信息结束:

代码语言:javascript
复制
[exec] checking for HMAC_Init in -lssl... 
[exec] configure: error: Cannot find libssl.so
[exec] /home/cshou/Documents/Lab/hadoop-1.0.1/src/c++/pipes/configure: line 5166: exit: please: numeric argument required
[exec] /home/cshou/Documents/Lab/hadoop-1.0.1/src/c++/pipes/configure: line 5166: exit: please: numeric argument required
[exec] no

BUILD FAILED
/home/cshou/Documents/Lab/hadoop-1.0.1/build.xml:2102: exec returned: 255

然后我检查了一下(我使用的是Ubuntu 12.04)

代码语言:javascript
复制
$ apt-cache search libssl

然后我得到了

代码语言:javascript
复制
libssl-dev - SSL development libraries, header files and documentation
libssl-doc - SSL development documentation documentation
libssl1.0.0 - SSL shared libraries
libssl1.0.0-dbg - Symbol tables for libssl and libcrypto
dcmtk - OFFIS DICOM toolkit command line utilities
libcherokee-mod-libssl - Cherokee web server - SSL crypto functions plugin
libdcmtk2 - OFFIS DICOM toolkit runtime libraries
libdcmtk2-dev - OFFIS DICOM toolkit development libraries and headers
libssl-ocaml - OCaml bindings for OpenSSL (runtime)
libssl-ocaml-dev - OCaml bindings for OpenSSL
libssl0.9.8 - SSL shared libraries
libssl0.9.8-dbg - Symbol tables for libssl and libcrypto
libsslcommon2 - enterprise messaging system - common SSL libraries
libsslcommon2-dev - enterprise messaging system - common SSL development files

看起来我确实安装了libssl库...

我在谷歌上搜索了很多,只找到了0.20.0的补丁,应该已经在1.0.1中修复了。

有谁能帮我吗?

谢谢。

EN

回答 1

Stack Overflow用户

发布于 2012-09-22 11:04:10

这是一个bug,添加路径后,它就可以工作了。https://issues.apache.org/jira/browse/MAPREDUCE-2127

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11838722

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档