Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.