I just installed posgresql with homebrew and when I go on to type the command
psql
I get the following error:
dyld: Library
You could try brew doctor
and see what it says.
Possibly all you need is brew link --overwrite bash
.
For me, I just upgraded brew since OS X EL Capitan had some security upgrade that affetcs my /usr
folder. During the brew upgrade, the bash link is broken, and this is what brew doctor
tells me.
So I just run brew link --overwrite bash
and everything's fine.