How to fix Terminal error DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid? Any time I open a new terminal window (independent of terminal app), the console stderr displays dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid before the first bash prompt.

The start of this error coincided with my install of 10.8.

How can I get rid of that message?

Below is my .bash_profile:

export PS1="\u@MBP:\W -&gt;"

##
# Your previous /Users/segiddins/.bash_profile file was backed up as /Users/segiddins/.bash_profile.macports-saved_2012-04-19_at_21:00:04
##

# MacPorts Installer addition on 2012-04-19_at_21:00:04: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
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...