【发布时间】:2018-10-15 07:02:55
【问题描述】:
$ git status
On branch master
...
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/gettext
Reason: image not found
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/envsubst
Reason: image not found
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/envsubst
Reason: image not found
/usr/local/bin/gettext.sh: line 87: 10800 Abort trap: 6 envsubst "$1"
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/gettext
Reason: image not found
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/envsubst
Reason: image not found
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/envsubst
Reason: image not found
/usr/local/bin/gettext.sh: line 87: 10841 Abort trap: 6 envsubst "$1"
nothing to commit, working tree clean
$ ls /usr/local/Cellar/gettext
0.19.8.1
我的 Homebrew 安装的 Git 似乎想要访问不存在的 /usr/local/Cellar/gettext/0.19.4?
我试过了
git reinstall git
徒劳。
假设我只需要安装 0.19.4 版本的 gettext,我试图找到安装特定版本的 Homebrew“公式”的方法,但在网上找到的所有解决方案都已证明是过时的,而不是工作。
【问题讨论】:
标签: git installation homebrew gettext sysadmin