OSASCRIPT and the DYLD Environment Variable
I use MySQL on my Macbook even though Apple no longer delivers it with the OS. As with many database applications, I need to export the DYLD_LIBRARY_PATH variable in my .bash_profile. Because some operations require root access at times, including the installation of MySQL, I added that variable to the root users .bash_profile also.
Since upgrading to Mountain Lion I get this warning every time I issue a sudo command (sudo emacs /etc/hosts or whatever.)
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements
Nothing seems to be wrong and nothing fails, but the error is most annoying. I am most happy for osascript that it doesn't need this variable but does it have to so proudly announce it any time another application does?
Any words of wisdom good people?
--distracted24x7
MacBook Pro, OS X Mountain Lion, Early 2011