I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
The solution is to force the linking of readline again.
brew remove readline brew install readline brew link readline --force