How to fix Terminal error DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid?
It seems that the problem might be with asepsis (If you have it installed).　http://asepsis.binaryage.com/

Re-install it to make sure that it's up-to-date. And then Download the Command Line Tools from XCode.

That fixed it for me...