Can sudo's annoying message be removed from Mountain Lion 10.8.0? After the upgrade to 10.8.0, whenever I do a sudo, I always get this message: 

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

I have checked my .bash_profile, .zshrc all I could think of, and I don't see anything related to the DYLD_ environment.

After googling for hours, I tried to put these two lines in my .zshrc:

unset LD_LIBRARY_PATH  
unset DYLD_LIBRARY_PATH


But the annoying message still appears. 

I go to a guest account and did a sudo but didnt' get this message. So I guess I have some custom library installed... But I don't know how to debug this.
Do you have any other DYLD_ variables set? Run set with no parameters to see all variables and unset anything that comes up with that prefix.

Note that it looks like this is really just a workaround for a bug, those messages shouldn't be printed unless you have DYLD_PRINT_WARNINGS enabled.

Also, the update to 10.8.1 seems to have patched this annoyance.