Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git commands not working in Mac terminal: "dyld: Symbol not found: ___strlcpy_chk" error

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 
like image 561
KateMak Avatar asked Jan 05 '14 03:01

KateMak


1 Answers

I needed to install command line tools from Xcode. To do so-

  1. Open Xcode and hit Cmd+,
  2. Click Downloads
  3. Install command line tools.

http://www.hongkiat.com/blog/mountain-lion-git-fix/

like image 128
KateMak Avatar answered Oct 05 '22 10:10

KateMak