brew update and retried your prior step?brew doctor, fixed as many issues as possible and retried your prior step?Warning: Your XQuartz (2.7.8) is outdated.
Please install XQuartz 2.7.9 (or delete it):
https://xquartz.macosforge.org
Warning: Your Xcode (7.3.1) is outdated.
Please update to Xcode 8.0 (or delete it).
Xcode can be updated from the App Store.
I can't run bash. When I do I get the following error.
$ bash
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/bin/bash
Reason: image not found
Trace/BPT trap: 5
It looks like there is a newer version of libreadline:
$ ls /usr/local/opt/readline/lib/libreadline*
/usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.a
/usr/local/opt/readline/lib/libreadline.7.dylib /usr/local/opt/readline/lib/libreadline.dylib
I have tried brew remove readline brew update brew install readline, and this didn't fix it. This all started a few days ago after doing a brew install of gnuplot.
You need to upgrade bash ...
I had no idea bash was linked to brew. Worked though, thank you!
brew upgrade bash
$ brew upgrade
will upgrade all package installed by home-brew.
i tried brew upgrade and that didn't upgrade bash
so i did
brew upgrade bash
and that upgraded bash and now no more errors
Most helpful comment
You need to upgrade bash ...