osx - git command-line on Mac OS error "dyld: Symbol not found: ___strlcpy_chk" -
i installed git on mac os, when try create new repository git init
, error :
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
nb: don't have xcode installed.
you can consider solution: open xcode(install 1 if didn't install it.), , press "command + ,". click "download". find "command line tool", download , install it.then restart mac,done!
hope can solve same way.
Comments
Post a Comment