i trying build libhdfs on ubunutu 12.04 mountable hdfs , stuck @ first step
1. in hadoop_home: ant compile-c++-libhdfs -dlibhdfs=1
in step configure , make utils , pipes, when configure pipes failed on
checking hmac_init in -lssl... no
found function in libcrypto in ubuntu 12.04, modify configure ignore check , add -lcrypto option, work when manually configure , make pipes
when use ant again, regenerate configure , failed again...
there method correct this?
i found solution in https://issues.apache.org/jira/browse/mapreduce-2127
just edit ${hadoop_install}/src/c++/utils/m4/hadoop_utils.m4, @ line 54 & 55
-ac_check_lib([ssl], [hmac_init], [], <br> - ac_msg_error(cannot find libssl.so, please check))<br> +ac_check_lib([crypto], [hmac_init], [], <br> + ac_msg_error(cannot find libcrypto.so, please check))<br> i don't know why stat fixed not fix in release...
Comments
Post a Comment