Nano:dyld:未加载库:/usr/local/opt/gettext/lib/libintl.8.dylib

Nano: dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib

$ nano error.log 
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /usr/local/bin/nano
  Reason: image not found
Abort trap: 6

我该如何修复该错误?

找不到任何解决方案。 安装 clean homebrew 和 clean nano 就可以了,不过。

卸载自制程序

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

安装自制程序

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装 Nano

brew install nano