Symbol not found: _sqlite3_intarray_bind
Hi guys,
I've just upgraded my mac to yosemite, and I also upgraded my xcode. When I try to enter some commands like "ssh" or "g++", the error message appears:
dyld: Symbol not found: _sqlite3_intarray_bind
Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
Expected in: /opt/local/lib/libsqlite3.dylib
in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
But when I "sudo ssh" or "sudo g++", it's working fine. Can anyone figure out what happens and how to fix it?
Thanks a lot.
MacBook Air, OS X Yosemite (10.10)