larry.velazquez at gmail.com
Wed Dec 26 13:18:17 PST 2012
On Dec 26, 2012, at 12:49 PM, Robert.Broome at SoftHome.net wrote:
> I am getting the following error:
> dyld: DYLD_ environment variables being ignored because main executable
> (sudo) is setuid or setgid.
> 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:
More information about the macports-users