一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

解决centos6.4编译ruby1.9.3报错:ossl_pkey_ec.c

时间:2014-03-14 编辑:简简单单 来源:一聚教程网


报错信息如下

Error: ossl_pkey_ec.c:In functin 'ossl_ec_group_initialize': ossl_pkey_ec.c:816:error: 'EC_GROUP_new_curve_GF2m' undeclard (first use in this function) ossl_pkey_ec.c:816:error: (Each undeclard indentifier is reported only once ossl_pkey_ec.c:816 error:for each function it appearts in.)

产生问题的原因是:centos6.4的openssl的配置变更取消了对EC_GROUP_new_curve_GF2m的支持,所以出现该错误.


报错的文件为:ossl_pkey_ec.c

用find命令找到ossl_pkey_ec.c文件路径

find / -name ossl_pkey_ec.c
编辑文件ossl_pkey_ec.c,如下图所示,在相应位置添加红框内的代码即可
 

解决centos6.4编译ruby1.9.3报错:ossl_pkey_ec.c

 

解决centos6.4编译ruby1.9.3报错:ossl_pkey_ec.c

保存退出后,重新make

热门栏目