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

前端 未结 7 1707
遇见更好的自我
遇见更好的自我 2021-01-31 02:07

since an update to 10.8 I get the following error, when trying to do a sudo command, which is pretty annoying.

dyld: DYLD_ environment variables being ignored be         


        
7条回答
  •  心在旅途
    2021-01-31 02:38

    This seems to be a bug introduced in 10.8, see this report. As far as I can tell, the only workaround is not setting DYLD_LIBRARY_PATH or LD_LIBRARY_PATH by default, but only when needed.

提交回复
热议问题