Open applebait opened 1 month ago
Ok, this is far from a bat issue. This is a libgit2 issue. I just installed libgit2@1.7 and it's all working again.
I'm having the same issue how did you download libgit2@1.7, did you install from source?
I ran brew uninstall bat && brew install bat
and the issue seemed to be resolved
I solved this with brew install libgit2@1.7
.
I ran
brew uninstall bat && brew install bat
and the issue seemed to be resolved
This was addressed upstream by Homebrew: https://github.com/Homebrew/homebrew-core/pull/166767
Thanks to this thread, I resolved this be using brew uninstall bat && brew install bat
. Out of curiousity – why did not brew upgrade bat
help? I tried that first and it didn't help..
I'd recommend using brew reinstall bat
instead of brew uninstall bat && brew install bat
. Using reinstall
ensures that the reinstall uses the original installation options.
From the help:
Usage: brew reinstall [options] formula|cask [...]
Uninstall and then reinstall a formula or cask using the same options it was
originally installed with, plus any appended options specific to a formula.
I was having this issue today and I solved it by reinstalling libgit2@1.7
with: brew reinstall libgit2@1.7
Hello,
I am having an issue running bat on my macOS system. When I try to run bat, I get the following error message:
It appears that bat is trying to load libgit2.1.7.dylib, but I have libgit2 version 1.8.1 installed on my system. I tried reinstalling both bat and libgit2 using Homebrew, but the issue persists. I am currently unable to uninstall libgit2 1.8.1 because other installed applications depend on it. I would appreciate any guidance on how to resolve this issue. Please let me know if you need any additional information about my system or the steps I've taken.
Thanks.