On Dec 26, 2012, at 12:49 PM, [email protected] wrote:

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

[snip]

> Has anyone had any experience with this
> error message and can you tell me what is going on? Besides the apparent
> fact that root doesn't want to run DY files?


As a security measure, Mountain Lion's dynamic linker removes DYLD_* and
LD_LIBRARY_PATH from the environment while running setuid and setgid
executables, like sudo. This is normal behavior.

Here's a previous thread on the topic:
http://thread.gmane.org/gmane.os.apple.macports.user/29664.

vq
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to