You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

I think that ever since I installed MacPorts, I'm getting this error mesage whenever I start a new bash session. I know some other people were having this problem except the problem was with sudo and not login. I've tried commenting out all of my ~/.bash_profile to see if that would make it go away and it didn't. Then I did an in-place install of the whole OS; the problem persists.


For good measure, here's my .bash_profile file


# set the number of open files to be 1024

ulimit -S -n 1024



# Setting PATH for Python 2.7

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"

export PATH



# Setting PATH for Python 3.3

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}"

export PATH



# MacPorts Installer addition on 2013-04-18_at_01:01:46: adding an appropriate PATH variable for use with MacPorts.

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

# Finished adapting your PATH environment variable for use with MacPorts.



Anyways, is there a solution to this? And if not, is it something I should worry about?


Thanks.

MacBook Air, OS X Mountain Lion (10.8.3), Mid 2011

Posted on Apr 17, 2013 11:16 PM

Reply
19 replies

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.