From: Ara.T.Howard@... Date: 2004-10-02T01:25:00+09:00 Subject: Re: irb/completion On Sat, 2 Oct 2004, Brian McCallister wrote: > Hmm, any reason I'd be unable to use 'irb/completion' out of the box in > 1.8.2-preview2 ? > > It likewise ignores the request to use it in my .irbrc > > [mccallister@kite ~/src/eva]$ /usr/local/ruby-1.8.2-preview2/bin/irb > irb(main):001:0> require 'irb/completion' > => false > > [mccallister@kite ~/src/eva]$ ruby -v > ruby 1.8.2 (2004-07-29) [powerpc-darwin7.5.0] > > [mccallister@kite ~/src/eva]$ uname -a > Darwin kite.forthill.int 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 > 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power > Macintosh powerpc > > -Brian you need the realine library installed at configure time and linked against at compile time. so either a) you don't have it. install it and recompile ruby b) you have it but didn't link against it 0) recompile (once) with LD_RUN_PATH pointing at it 1) run (always) with LD_LIBRARY_PATH pointing at it 2) reconfigure ld to find it for your system do a man ld.so if this doesn't make sense. bottom line, ruby doesn't have access to the readline shared library. cheers. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================