From: Mark Hubbart Date: 2004-05-14T11:41:32+09:00 Subject: Re: readline woes on OS X On May 13, 2004, at 5:14 PM, Stephen Steiner wrote: > I'm trying to install Ruby's readline module on OS X and am having the > following problem: > > > When I run: > > ruby extconf.rb > > I get: > > checking for tgetnum() in -lncurses... yes > checking for readline/readline.h... yes > checking for readline/history.h... yes > checking for readline() in -lreadline... no > > The question is, where are the paths that 'have_library()' is going to > search? It is finding the header files but can't seem to find the > library (libreadline.a). Have you installed a copy of readline on your system? There are two possibilities here: 1. make and install a readline library, or 2. if you were lucky enough to have a copy installed with your developer tools, link it to your /usr/lib directory. If a copy was installed, it should be under "/System/Library/PrivateFrameworks/readline.framework/"; If it's not there, you'll probably have to compile a copy. Since it was installed on mine, I haven't had to compile it. But I hear that other people's setups don't have it, so I don't know. HTH, --Mark