DL damaged

Ryan Schmidt ryandesign at macports.org
Wed Dec 26 17:31:01 PST 2012

On Dec 26, 2012, at 11:49, Robert Broome wrote:

> I am getting the following error:
> dyld: DYLD_ environment variables being ignored because main executable
> (sudo) is setuid or setgid.

You have DYLD_* environment variables set, and this message is informing you that they are being ignored while running whatever program you're running using sudo (for example MacPorts). This is normal; it would be a security risk to allow those variables to do what they do when running a program like sudo that has complete and total access to everything on your computer.

It is often an error to set DYLD_ environment variables at all. What variables have you set, to what values, and why? The command "env | grep DYLD" can answer the first two questions.

More information about the macports-users mailing list