gnuplot cannot find libreadline #36616

ilyamandel opened this Issue Feb 7, 2015 · 1 comment


None yet

1 participant


gnuplot, which I just installed, is complaining about a missing library:
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib

I tried the advice from other threads, but none of it seems to work:

$ brew update
Already up-to-date.
$ brew upgrade
$ brew reinstall freetype
==> Reinstalling freetype
==> Downloading
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.5.yosemite.bottle.tar.gz
==> Pouring freetype-2.5.5.yosemite.bottle.tar.gz
П÷█╨ /usr/local/Cellar/freetype/2.5.5: 60 files, 2,6M
$ brew reinstall gnuplot
==> Reinstalling gnuplot
==> Downloading
Already downloaded: /Library/Caches/Homebrew/gnuplot-5.0.0.yosemite.bottle.tar.gz
==> Pouring gnuplot-5.0.0.yosemite.bottle.tar.gz
П÷█╨ /usr/local/Cellar/gnuplot/5.0.0: 44 files, 2,3M
$ gnuplot
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/bin/gnuplot
Reason: image not found
Trace/BPT trap: 5

Thanks for your help!

@ilyamandel ilyamandel changed the title from gunplot cannot find a library to gnuplot cannot find a library Feb 7, 2015

$brew uninstall readline
$brew install readline
solved the problem.

@ilyamandel ilyamandel changed the title from gnuplot cannot find a library to gnuplot cannot find libreadline Feb 7, 2015
@ilyamandel ilyamandel closed this Feb 7, 2015
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.