Bryan Hughes <huuuze(at)gmail(dot)com> writes:
> I now have "libreadline.a" in /usr/local/lib. Assuming that's the goal,
> would you be kind enough to walk me through the next step -- linking that
> lib to psql?
I think it should work to just configure and build postgres the same as
you otherwise would --- I believe Apple's gcc follows the usual
convention of looking in /usr/local first. You can check the results
with "otool -L psql". If it mentions /usr/lib/libedit.dylib or
/usr/lib/libreadline.dylib, you still have a dependency on libedit,
else not.
regards, tom lane