Forum: Mongrel mongrel_rails: fatal: relocation error

Posted by Deepak Battu (deepakbattu)
on 2008-09-01 11:46
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:in
`process'
        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:in
`run'
        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:in
`require'
        from /usr/local/lib/ruby/site_ruby/1.8/mongrel/rails.rb:147:in
`rails'
        from /usr/local/bin/mongrel_rails:114:in `cloaker_'
        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:in
`listener'
        from /usr/local/bin/mongrel_rails:100:in `cloaker_'
        from
/usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:50:in `call'
        from
/usr/local/lib/ruby/site_ruby/1.8/mongrel/configurator.rb:50:in
`initialize'
        from /usr/local/bin/mongrel_rails:85:in `new'
        from /usr/local/bin/mongrel_rails:85:in `run'
        from /usr/local/lib/ruby/site_ruby/1.8/mongrel/command.rb:212:in
`run'
        from /usr/local/bin/mongrel_rails:282


can any one help me solve this problem.
thank u
deepak
Posted by Deepak Battu (deepakbattu)
on 2008-09-01 13:00
Sorry for all that was an error with the improper installation of ruby 
with ssl support.re installation of the ruby solved the problem.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.