Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools

Calvin Nix
Calvin Nix
43,828 Points

Error when creating new git repository

Currently using Mac OS running Mountain Lion. I am attempting to create a new git repository through the command line. I enter "git init newfile" .

I receive this 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

However; when I check to see if git is installed by running the command "git --version". I receive the response "git version 1.9.0"

HAALP!

1 Answer

Ivan Uvarov
Ivan Uvarov
22,403 Points

Install command line tools from xCode. Open xCode and hit command+',' (or just go to Xcode in left top corner -> Preferences) and click Downloads. Install command line tools.