I am new to using a macbook terminal. Initially when I used the terminal for working on Raspberry Pi everything was great. But now when I try to use the terminal and type
sudo
it keeps giving a dyld message. And also rejects my commands. The message is :
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
what do I do? And why has this message started appearing all of a sudden?
Can anyone give a step by step guide on stopping this
Thanks a lot:)
Best Answer
On the short term, within a
Terminal
enter:and check that:
is working.
Your description let think of an installer which modified your working environment in closed relationship with the X11 environment.
To further analyze where this problem is coming, within a
Terminal
search which initialisation file might be working on this environment variable:If you are using anything else than
sh
orbash
as your working shell, search inside the equivalent initialisation files.