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

libreadline, macos, shell

Solution

update it with:

"brew upgrade gawk"

This should be fixed.

Problem

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 ```

Original source