Created
October 22, 2016 03:24
-
-
Save clasense4/9ba85646b9007732a7b6a33b1495b8d0 to your computer and use it in GitHub Desktop.
Fixing awk problem in OSX el capitan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew unlink gawk | |
brew reinstall awk | |
awk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
─[email protected] ~/Projects/playground/swoole-src ‹master*› | |
╰─➤ awk 1 ↵ | |
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib | |
Referenced from: /usr/local/bin/awk | |
Reason: image not found | |
[1] 74534 trace trap awk | |
─[email protected] ~/Projects/playground/swoole-src ‹master*› | |
╰─➤ brew reinstall awk 133 ↵ | |
==> Reinstalling homebrew/dupes/awk | |
Error: Cannot install homebrew/dupes/awk because conflicting formulae are installed. | |
gawk: because both install awk executables. | |
Please `brew unlink gawk` before continuing. | |
Unlinking removes a formula's symlinks from /usr/local. You can | |
link the formula again after the install finishes. You can --force this | |
install, but the build may fail or cause obscure side-effects in the | |
resulting software. | |
╭─[email protected] ~/Projects/playground/swoole-src ‹master*› | |
╰─➤ brew unlink gawk 1 ↵ | |
Unlinking /usr/local/Cellar/gawk/4.1.4... 22 symlinks removed | |
╭─[email protected] ~/Projects/playground/swoole-src ‹master*› | |
╰─➤ brew reinstall awk | |
==> Reinstalling homebrew/dupes/awk | |
==> Using the sandbox | |
==> Downloading https://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz | |
######################################################################## 100.0% | |
==> make CC=clang CFLAGS= YACC=yacc -d | |
🍺 /usr/local/Cellar/awk/20121220: 5 files, 159.4K, built in 8 seconds | |
╭─[email protected] ~/Projects/playground/swoole-src ‹master*› | |
╰─➤ awk | |
usage: awk [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment