new setuid error

Puneet Kishor punk.kish at gmail.com
Sun Aug 12 12:49:06 PDT 2012


On Aug 12, 2012, at 1:36 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Aug 12, 2012, at 13:28, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 
>>>> $sudo port selfupdate
>>>> dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
>>> 
>>> This message lets you know that you have set DYLD_ environment variables, and that they are being ignored. It's usually an error to set DYLD_ environment variables at all anyway, so you might want to consider removing them from your environment.
>> 
>> This is a new 'feature' in 10.8, and is printed even if the user doesn't have any DYLB_<X> environment variables. I don't, and I also get this message. A bit annoying. Hopefully Apple will address it in a future update.
> 
> Are you sure? What's the output of:
> 
> env | grep DY
> 
> I am on Mountain Lion and I don't see this warning, nor have I heard anyone else report it.
> 

I agree with Ryan. I had a DYLD_ var set in my.bashrc. I commented it out, and I no longer get the message.

Also, installing command line tools from Xcode 4.4 prefs, and macports works fine now.

Thanks all,

--
Puneet Kishor


More information about the macports-users mailing list