Forum OpenACS Q&A: Re: PostgreSQL installon Mac OS X -- readline library not found, compile wows

i'm running 10.2.6.

i've had no trouble compiling either 7.2.3 or 7.3x

the instructions on were helpful to me.

for readline specifically, you can either install it using fink ( or by compiling readline from scratch.

compiling readline:
% curl -O
% tar zxvf readline-4.3.tar.gz
% cd readline-4.3
% perl -i.bak -p -e \
    "s/SHLIB_LIBS=.*/SHLIB_LIBS='-lSystem -lncurses -lcc_dynamic'/g" \
% ./configure
% make
% make install

fink is probably easiest...

install fink then:
% sudo /sw/bin/fink install readline
and from your postgresql source dir:
% ./configure --with-includes=/sw/include/ --with-libraries=/sw/lib
% make
% install