Search code examples
macosshelllibreadline

dyld: Library not loaded: Referenced from: /usr/local/bin/awk


It shows error message as follow when I open the terminal:

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

Solution

  • update it with:

    "brew upgrade gawk"

    This should be fixed.