Installation on Mac Problem

I’m not exactly sure what the root of this problem is. I followed the
following tutuorial on installing Ruby on Rails on Mac OS X:

Everything is working fine but when I navigate to :
http://localhost:3000/ or go to any other pages that I’m attempting to
serve with RoR I get the following errors in my tail:

Code:
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_completion_matches
Referenced from:
/usr/local/lib/ruby/1.8/powerpc-darwin8.4.0/readline.bundle
Expected in: flat namespace

Trace/BPT trap

I’m at wits end … any help would be greatly appreciated!

On 18-jun-2006, at 5:24, Justin wrote:

Code:
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_completion_matches
Referenced from:
/usr/local/lib/ruby/1.8/powerpc-darwin8.4.0/readline.bundle
Expected in: flat namespace

There is a tricky flag that you have to supply to ruby configure:

./configure --with-readline-lib=/usr/local/lib

It should be mentioned on hivelogic if it’s not already.


Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl

Have you seen this script?
http://nubyonrails.com/articles/2005/12/29/an-even-better-way-to-build-ruby-rails-lighttpd-and-mysql-on-tiger