On Fri, Apr 6, 2018 at 10:20 PM, Igor Korot <ikoro...@gmail.com> wrote: >>> dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk >>> Referenced from: /usr/local/git/libexec/git-core/git >>> Expected in: /usr/lib/libSystem.B.dylib >> >> It's not clear what installer you used? Was it the package from >> git-scm? Was it from Homebrew? > > I just tried the git-scm installer and got exactly the same error > during the runtime.
Have you tried any of the suggestions at these pages for resolving this issue? https://stackoverflow.com/questions/22920497/git-mountain-lion-dyld-lazy-symbol-binding-failed-symbol-not-found-str https://stackoverflow.com/questions/20929689/git-commands-not-working-in-mac-terminal-dyld-symbol-not-found-strlcpy-ch >> I would guess that, even if the git-scm installer no longer supports >> 10.8, it is likely that Homebrew does. Have you tried it? > > I don't want to pollute my system with Homebrew. > >> If both those options fail, you can always build from source. > > Where do I get the soure code? And how do I build it? > I guess I have only one option left. ;-) Source code for the latest release is at: https://github.com/git/git/archive/v2.17.0.zip To build it, you'll need to have the MacOS Developer Tools installed. It's also quite likely that you'll need to build some prerequisite libraries; at minimum OpenSSL. You may be able to skip other libraries if you don't care about the functionality. Build settings which you may need to adjust to disable dependence on libraries in which you're not interested are documented at the top of Makefile. Place overrides for those settings in a file named config.mak in the git directory.