irb problems

K

kjell olsen

I was wondering if anyone could help me troubleshoot a problem I've
been having with irb, it won't run for me. I'm using Mac OS X 10.3.5
default ruby install and when I try to run irb from the terminal I get
this:

[kjell@imac:~] % irb
dyld: ruby can't open library: /supp/lib/libreadline.4.3.dylib (No
such file or directory, errno = 2)
Trace/BPT trap
[kjell@imac:~] % ruby -v
ruby 1.8.1 (2004-03-15) [powerpc-darwin]


I did a little system cleaning: permissions, prebindings, and disk
repair, but it still won't work and I'm out of ideas. Thanks for any
help!
 
M

Mark Hubbart

I was wondering if anyone could help me troubleshoot a problem I've
been having with irb, it won't run for me. I'm using Mac OS X 10.3.5
default ruby install and when I try to run irb from the terminal I get
this:

[kjell@imac:~] % irb
dyld: ruby can't open library: /supp/lib/libreadline.4.3.dylib (No
such file or directory, errno = 2)
Trace/BPT trap
[kjell@imac:~] % ruby -v
ruby 1.8.1 (2004-03-15) [powerpc-darwin]

I did a little system cleaning: permissions, prebindings, and disk
repair, but it still won't work and I'm out of ideas. Thanks for any
help!

I suspect that you aren't using the pre-installed version; I think you
are using the old installer package that I posted to a site of mine.
*cringes* In the time that followed, I got reports back that most
people's systems didn't have readline installed, so the readline
support didn't work. There was a fix suggested, somewhere back in the
archives, but I got busy and never got around to fixing the package.

Well, I just posted a new package, using today's stable snapshot, and
readline should work nicely, since I included/built against the latest
gnu readline libs. Try installing it, and see if that takes care of
it.

URL: http://homepage.mac.com/discord/Ruby/

cheers,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,891
Members
47,423
Latest member
henerygril

Latest Threads

Top