After I upgrade to MacOS Monterey, my Homebrew installed git does not work. I have uninstalled that git. Now I can use the Xcode git (/usr/bin/git) in the terminal. But when I add/update a github repo, I get the following error
(test) pkg> add "email@example.com:liuyxpp/PolymerArchitecture.jl.git#main" Cloning git-repo `firstname.lastname@example.org:liuyxpp/PolymerArchitecture.jl.git#main` dyld: missing symbol called signal (6): Abort trap: 6 in expression starting at none:0
The error message is the same as those emitted by my previous Homebrew installed git.
Anyone know how to find out which symbol in which lib I am missing?
The issue is finally solved. I have exported some paths for
LD_LIBRARY_PATH in my
.bash_profile long time ago which may provide an inconsistent version of some linked library for git. I find this out by trying to compile git from source. And indeed the linking stage of the compilation failed due to a link error related to
libiconv, which points me to check my LD flags and settings.