Skip to content

Instantly share code, notes, and snippets.

@merin83
Last active October 10, 2019 21:48
Show Gist options
  • Save merin83/291dc3ed57dd36775544846e2466a14d to your computer and use it in GitHub Desktop.
Save merin83/291dc3ed57dd36775544846e2466a14d to your computer and use it in GitHub Desktop.
dyld: Library not loaded

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

the error seems to be thrown when searching for /usr/local/opt/readline/lib/libreadline.7.dylib.

Have you tried to symlink that?

So something like:

cd /usr/local/opt/readline/lib ln -s libreadline.8.0.dylib libreadline.7.dylib

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