Brian Ehmann
10/26/2006 3:52:00 PM
I to am having trouble with ruby on my mac after a build and install
from source of v 1.8.5.
Ruby is running fine (so far) however irb broke. I get the following
error:
$ irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /usr/local/lib/ruby/site_ruby/1.8/powerpc-
darwin8.8.0/readline.bundle
Expected in: flat namespace
Trace/BPT trap
Based on info from an online post I tried a rebuild with the
configure option --with-readline-dir=/usr/local but that didn't help.
Has anyone else had this problem.
- Brian
On Oct 26, 2006, at 11:04 AM, Cameron Adamez wrote:
> Hi,
> I (perhaps stupidly) decided to compile and install 1.8.5 on my Mac,
> thinking there might have been some improvements to Ruby. So, I
> did, and I
> fiddled around with settings, changing the default encoding to UTF-8
> instead of whatever it was before, and the secondary was Shift-JIS.
> Problems...
> 1) If I write, for example,
> puts "???"
> It does that annoying Mac thing...
> puts "\343\201\253\343\202\203\343\203\274"
>
> I had this previously fixed for other Terminal things.
>
> 2) ri won't install, period. It keeps giving me weird errors that I
> forgot
> to copy and paste here. It compiles itself and then stops, with
> lots of
> errors.
>
> Should I just reinstall and start over?
>
> Cameron
>