Mac readline - Library not loaded
I was able to resolve this by simply running brew switch readline 6.3.8
Running
brew upgrade gawk
worked for me, as suggested by @wisbucky
And that fixed the below error, upon opening a new terminal :
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: /usr/local/bin/awk
OS details: macOS Mojave version 10.14.1 (18B75)
my issue was due to my awk being linked to gawk
brew unlink gawk