$ 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
Кажется, мой Git, установленный Homebrew, хочет получить доступ к /usr/local/Cellar/gettext/0.19.4, который не существует?
Я пробовал
git reinstall git
Напрасно.
Предполагая, что мне просто нужно установить gettext версии 0.19.4, я попытался найти способы установки «формулы» Homebrew определенной версии, но все решения найдены в Интернете.оказались устаревшими и не работают.