From: Greg Hauptmann on
Hi,

I've update the software on my linux box ( v4 to v5.0
http://clarkconnect.com/ ) upgrade something has gone screwy with my
Ruby installation on the machine. Any ideas?

My ruby/rails installation was working fine until I did the Linux
update. Gem Update Affected (not that the 'md5.so' is actually there
in the directory)


[root(a)home ~]# gem --version
1.3.1
[root(a)home ~]# ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
[root(a)home ~]#
[root(a)home ~]# gem update --system
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: libcrypto.so.4:
cannot open shared object file: No such file or directory -
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/digest/md5.rb:8
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:12
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:11
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:3
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:4
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:7
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:140:in
`load_and_instantiate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:65:in
`[]'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:118:in
`find_command'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in
`process_args'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
from /usr/local/bin/gem:24
[root(a)home ~]#



Running Rails AffectedCode:


[root(a)home current]# ./script/console
Loading development environment (Rails 2.2.2)
/usr/local/lib/ruby/1.8/i686-linux/readline.so: libreadline.so.4:
cannot open shared object file: No such file or directory -
/usr/local/lib/ruby/1.8/i686-linux/readline.so (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require'
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `each'
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/local/bin/irb:13



thanks