I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
This had helped me: uninstall all readline and postgresql
export CPPFLAGS=-I/usr/local/opt/readline/include export LDFLAGS=-L/usr/local/opt/readline/lib
and install posqtgresql