我正在尝试在我的 Mac OS X 10.9 上运行 CLI 程序 happygrep,但是出现了一个错误:happygrep - dyld:库未加载:/usr/local/opt/ncurses/lib/libncursesw.5.dylib。
I install it like this:
$ brew cask update
$ brew cask install happygrep
有人能帮我吗?谢谢。
我正在尝试在我的 Mac OS X 10.9 上运行 CLI 程序 happygrep,但是出现了一个错误:happygrep - dyld:库未加载:/usr/local/opt/ncurses/lib/libncursesw.5.dylib。
I install it like this:
$ brew cask update
$ brew cask install happygrep
有人能帮我吗?谢谢。
ncurses
包可能有所帮助,例如:brew reinstall ncurses
After struggled, I find a way to solve it:
Install ncursesw-related lib:
$ brew search ncurses
homebrew/dupes/ncurses
$ brew install homebrew/dupes/ncurses
After that, run CLI happygrep 'key-word'.
brew install homebrew/dupes/ncurses
会提示以下信息:Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
,因此已经不再适用。 - bonbonez