I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
Another way to fix psql is update postgresql just running brew upgrade postgresql since the newest version will use readline 7 version.
brew upgrade postgresql