I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
If you don't have readline installed, first install it:
brew install readline
For me, I was getting this error, even though I had readline installed. Reinstalling readline did the trick:
brew reinstall readline