On Mar 17, 2004, at 6:07 PM, Sam Roberts wrote:

> 6 - it has dependencies on your local system:
>
> $ /usr/local/bin/irb
> dyld: ruby can't open library: /supp/lib/libreadline.4.3.dylib  (No 
> such file or directory, errno = 2)
> Trace/BPT trap
>
> I tried this first, because I wanted to know if it had readline 
> support.
> I think you linked against a libreadline you've installed locally, but 
> I
> think you could link against  the systems readline framework, how to do
> so is described here:
>
>   http://cherryville.org/8896/ruby_readline_for_mac.html
>
> I used his precompiled bundle, and now irb as-shipped has a history.
> Yeah!
>
> (I'm using osx 10.2, btw)

This explains the problem. OSX 10.3, it appears, ships with a working 
libreadline.4.3 stuffed in /usr/lib, which is what my readline.bundle 
was compiled against. I'll see if there's a way to fix this to work 
automatically with 10.2, but it may need to be an optional package in 
the installer.