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

Lawrence Velázquez larryv at macports.org
Fri May 17 13:08:35 PDT 2013


On May 17, 2013, at 3:42 PM, Mike Alexander <mta at umich.edu> wrote:

> Actually, I think it can be any DYLD_* environment variable.  I just tried setting DYLD_QQSV to something and got the warning.  LD_* variables don't seem to trigger the warning.

Correct, dyld removes all DYLD_* variables (the most common being DYLD_LIBRARY_PATH), plus LD_LIBRARY_PATH.

https://github.com/aosm/dyld/blob/210.2.3/src/dyld.cpp#L1495

vq


More information about the macports-users mailing list