Skip to content

Instantly share code, notes, and snippets.

@mkows
Created April 11, 2019 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkows/c23eeb6ac071d24ebbb3696158e47fc5 to your computer and use it in GitHub Desktop.
Save mkows/c23eeb6ac071d24ebbb3696158e47fc5 to your computer and use it in GitHub Desktop.
MacOS random notes

dyld: Library not loaded

Problem

When running tig

$ tig
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/tig
  Reason: image not found

Fix:

Review ll /usr/local/opt/readline/lib/ and (accordingly):

sudo ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment