Git commands not working in Mac terminal: "dyld: Symbol not found: ___strlcpy_chk" error
clone, git, macos, terminal, version-control
Solution
I needed to install command line tools from Xcode. To do so-
- Open Xcode and hit `Cmd`+`,`
- Click Downloads
- Install command line tools.
http://www.hongkiat.com/blog/mountain-lion-git-fix/
Problem
I am using the command git clone ssh://.... and getting the following error on the terminal: ``` dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap: 5 ```