Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
12
Help us understand the problem. What is going on with this article?

More than 5 years have passed since last update.

@dvorak__

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

.bash_profileに以下が設定されていると、

export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH

sudoしたときに以下メッセージが表示される
Macのバグらしい?です。
参考URL:http://qiita.com/items/b5a6d1c6cdcb22be565f

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

いちいち、うるさいので、黙らせる。
.bash_profileの1番最後に以下を追加

unset LD_LIBRARY_PATH
unset DYLD_LIBRARY_PATH

更新

$ source ~/.bash_profile

これで、邪魔なメッセージが出なくなる。

12
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
12
Help us understand the problem. What is going on with this article?