码迷,mamicode.com
首页 > 其他好文 > 详细

Erlang error?

时间:2014-11-27 01:42:37      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:http   io   ar   文件   on   html   ad   ef   amp   

Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: ‘/usr/local/erlang/R16B03-1/lib/erlang/lib/crypto-3.2/priv/lib/crypto.so: undefined symbol: EC_GROUP_new_curve_GF2m‘"
OpenSSL might not be installed on this system.
make: *** [deps] Error 1
[root@lambda-laptop riak]# erl


编辑文件 。。
 edit lib/crypto/c_src/crypto.c and change:

#if OPENSSL_VERSION_NUMBER >= 0x009080ffL         && !defined(OPENSSL_NO_EC)         && !defined(OPENSSL_NO_ECDH)         && !defined(OPENSSL_NO_ECDSA)
# define HAVE_EC
#endif



#if OPENSSL_VERSION_NUMBER >= 0x009080ffL         && !defined(OPENSSL_NO_EC)         && !defined(OPENSSL_NO_EC2M)         && !defined(OPENSSL_NO_ECDH)         && !defined(OPENSSL_NO_ECDSA)
# define HAVE_EC
#endif




http://erlang.org/pipermail/erlang-questions/2013-December/076327.html

Erlang error?

标签:http   io   ar   文件   on   html   ad   ef   amp   

原文地址:http://my.oschina.net/innovation/blog/349228

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!