« Return to Thread: Ruby 1.8.4 Mac OS X readline problems

Re: Ruby 1.8.4 Mac OS X readline problems

by Ryan Sobol :: Rate this Message:

Reply to Author | View in Thread


On Dec 24, 2005, at 12:58 PM, Daniel Harple wrote:

> Is anyone else having this problem?
>
> #++++++
> $ make test-all
> ./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --
> runner=console
> dyld: NSLinkModule() error
> dyld: Symbol not found: _rl_filename_completion_function
>   Referenced from: /Users/dharple/ruby-1.8.4/.ext/powerpc-
> darwin8.3.0/readline.bundle
>   Expected in: flat namespace
>
> make: *** [test-all] Trace/BPT trap
> $
> #++++++
>
> My scripts run fine, but now I can't use readline in IRB (or  
> anywhere).
>
> Mac OS X 10.4.3
> gcc version 4.0.0 (Apple Computer, Inc. build 5026)
>
> Compiling on Mac OS X 10.3.9 with gcc version 3.3 20030304 (Apple  
> Computer, Inc. build 1666) I get a borked DRB test that exits with  
> an error and no subsequent tests are run.
>
> -- Daniel
>

My advice is to wait until the 1.8.4 package is available from Darwin  
Ports or Fink.  I highly encourage everyone to use one (or both) of  
these tools for managing 99.9% of the *nix software on OS X.

http://darwinports.opendarwin.org/
http://fink.sourceforge.net/

~ ryan ~

 « Return to Thread: Ruby 1.8.4 Mac OS X readline problems