Thursday, May 8, 2014

Resolving Library not loaded for readline on Mac

After upgrading my mac, I was having this error whenever I start my terminal:
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib
Referenced from: /usr/local/bin/psql
Reason: image not found
After some Googling, a lot of answers were, reinstall readline, by
brew install readline
I couldn't do that because I don't have access to my terminal. So I decided to manually install it. After some more frustration and googling, I found the readline that works.

1 comment:

  1. thanks! this just saved me after a migration to a new machine.

    ReplyDelete