Mongrel_rails: fatal: relocation error

Just installed mongrel from source and when try to start mongrel… the
following error is coming.

$>mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
/usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:225:in
require_frameworks': ld.so.1: mongrel_rails: fatal: relocation error: file /usr/local/lib/ruby/1.8/sparc-solaris2.8/digest/md5.so: symbol rb_Digest_MD5_Finish: referenced symbol not found - /usr/local/lib/ruby/1.8/sparc-solaris2.8/digest/md5.so (RuntimeError) from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:113:inprocess’
from
/usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:in
send' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:inrun’
from /opt/www/config/environment.rb:14
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from /usr/local/lib/ruby/site_ruby/1.8/mongrel/rails.rb:147:in
rails' from /usr/local/bin/mongrel_rails:114:incloaker_’
from
/usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:149:in call' from /usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:149:inlistener’
from /usr/local/bin/mongrel_rails:100:in cloaker_' from /usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:50:incall’
from
/usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:50:in
initialize' from /usr/local/bin/mongrel_rails:85:innew’
from /usr/local/bin/mongrel_rails:85:in run' from /usr/local/lib/ruby/site_ruby/1.8/mongrel/command.rb:212:inrun’
from /usr/local/bin/mongrel_rails:282

can any one help me solve this problem.
thank u
deepak

Sorry for all that was an error with the improper installation of ruby
with ssl support.re installation of the ruby solved the problem.