I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
The following commands worked for me:
brew reinstall postgresql brew postgresql-upgrade-database