Monday 26 August 2013

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

You see that freaking message when you are going to do a "sudo".

In my case that was caused because I installed the xquartz (X11 server).

I managed to remove the xquartz  but the that freaking error appeared again and again..

Finally I removed the reference of that variable DYLD_.... that was into the:
/etc/profile

Problem solved!