I’m trying to install Ruby on Centos-6.4 64-bit as following:
mkdir /tmp/ruby && cd /tmp/ruby curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz cd ruby-2.0.0-p247 ./configure --disable-install-rdoc make sudo make install
make, following error is displayed:
ossl_pkey_ec.c: In function ‘ossl_ec_group_initialize’: ossl_pkey_ec.c:766: warning: implicit declaration of function ‘EC_GF2m_simple_method’ ossl_pkey_ec.c:766: warning: assignment makes pointer from integer without a cast ossl_pkey_ec.c:821: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function) ossl_pkey_ec.c:821: error: (Each undeclared identifier is reported only once ossl_pkey_ec.c:821: error: for each function it appears in.) make: *** [ossl_pkey_ec.o] Error 1 make: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/openssl' make: *** [ext/openssl/all] Error 2 make: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' make: *** [build-ext] Error 2
I have already installed it on CentOS 6.5 without this issue, I need it now on CentOS 6.4 & the issue is seems to be related to OpenSSL.