在redhat 6的乘客安装中没有找到对ruby的Openssl支持



我有openssl 1.0.1e-42。El6已安装。还尝试从ext/openssl目录编译openssl,失败,错误如下

ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
ossl_pkey_ec.c:815: error: (Each undeclared identifier is reported only once
ossl_pkey_ec.c:815: error: for each function it appears in.)
make: *** [ossl_pkey_ec.o] Error 1

有解决这个问题的方法吗?或者这是ruby 1.8.7-p358和openssl 1.0.1e-42.el6的兼容性问题。因此,我无法安装phusion passenger

安装补丁修复上述问题。

参考链接https://bugs.ruby-lang.org/issues/8384

你必须下载out。"ruby source ext/openssl"目录下,执行patch < out.patch命令。然后编译openssl

最新更新