Running OSX 10.4 (Yosemite)
I get this error when I run "git {command}" as a user:
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /opt/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
When running "sudo git {command}", everything works fine. Not sure what's wrong. I'm guessing it's some kind of install issue, linking issue or permissions issue. Anyone know whats going on/how to fix?
UPDATE:
Following the post listed below, I was able to make git calls without being the root, but am still encountering linking errors:
Cloning into 'master'...
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /usr/local/bin/git
Expected in: /opt/local/lib/libiconv.2.dylib
dyld: Symbol not found: _iconv_open
Referenced from: /usr/local/bin/git
Expected in: /opt/local/lib/libiconv.2.dylib
It would seem there's something majorly wrong with the linking here, anyone know what's going on?