help me!!! Install remine error. undefined symbol: d2i_ECPKParameters

# RAILS_ENV=production rake db:migrate

(in /usr/local/redmine) rake aborted! /usr/local/ruby/lib/ruby/site_ruby/1.9.1/x86_64-linux/openssl.so: undefined symbol: d2i_ECPKParameters - /usr/local/ruby/lib/ruby/ site_ruby/1.9.1/x86_64-linux/openssl.so /usr/local/ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/ initializer.rb:271:in `rescue in require_frameworks'

# yum list | grep openssl This system is not registered with RHN. RHN support will be disabled. openssl.i686 0.9.8e-12.el5 installed openssl.x86_64 0.9.8e-12.el5 installed openssl-devel.i386 0.9.8e-12.el5 installed openssl-devel.x86_64 0.9.8e-12.el5 installed

hello i have the same problem can any one resolve that please Thanks in advance