Skip to content

Instantly share code, notes, and snippets.

@wbotelhos
Created November 29, 2016 20:42
Show Gist options
  • Star 58 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save wbotelhos/46c37807c834ccb5bb406e426adfe347 to your computer and use it in GitHub Desktop.
Save wbotelhos/46c37807c834ccb5bb406e426adfe347 to your computer and use it in GitHub Desktop.
Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
ln -s /usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.6.dylib
@A1vinSmith
Copy link

If you get /usr/local/opt/readline/lib/libreadline.6.dylib: File exists when you run this, you can instead brew install readline and copy the version-specific files over: sudo cp /usr/local/Cellar/readline/7.0.3_1/lib/*.7.* /usr/local/opt/readline/lib/. It's messy, but it fixed it for me.

thanks, just need to brew reinstall readline

@arion
Copy link

arion commented Oct 18, 2019

Thanks ❤️

@blended-ideas
Copy link

Thank you, <3

@Awlter
Copy link

Awlter commented Mar 25, 2020

Had to do the same to link version 8
ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib

Many thanks! 👍

Thanks, wondering what causes this

@brunitob
Copy link

brunitob commented Jun 9, 2020

Woked! for version 8

@Rfrixy
Copy link

Rfrixy commented Jun 10, 2020

Bless you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment