Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib #5799

Closed
sstadick opened this Issue Oct 11, 2016 · 2 comments

Projects

None yet

2 participants

@sstadick
sstadick commented Oct 11, 2016 edited
  • [x ] Ran brew update and retried your prior step?
  • [ x] Ran 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.

Bug reports:

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.

@ilovezfs
Member

You need to upgrade bash ...

@sstadick

I had no idea bash was linked to brew. Worked though, thank you!
brew upgrade bash

@sstadick sstadick closed this Oct 11, 2016
@jgillman jgillman referenced this issue in hnarayanan/shpotify Oct 27, 2016
Closed

Library not loaded "libreadline"? #68

@ilovezfs ilovezfs locked and limited conversation to collaborators Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.