ALB CentOS5 issue --- readline missing

2011/07/05 19:58 に 森山誠二郎 が投稿
Because anagix_tools have been compiled w/ CentOS4 and readline
has been dynamically linked w/ Ruby, you will see readline missing error
when you start ALB like below:

/home/anagix/anagix_tools/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active\
_support/dependencies.rb:105:in `const_missing_before_generators': uninitialize\d constant Debugger::LocalInterface::Readline (NameError)
/dev/mapfrom /home/anagix/anagix_tools/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/r\
ails_generator/lookup.rb:15:in `const_missing'
        from /home/anagix/anagix_tools/lib/ruby/gems/1.8/gems/ruby-debug-0.10.3\
/cli/ruby-debug/interface.rb:55:in `initialize'

Quick remedy is to remove ruby-debug from ALB distribution, but it is impractical.
Another solution is to copy libreadline.so.4 from CentOS4 to /home/anagix/anagix_tools/lib.
libreadline.so.4 is avaiable from www.expert-designers.org:8180/dist

I hope this helps.

Comments