Wenn ich als Superuser einen Befehl aus der Shell starte bekomme ich immer folgende Meldung zurück:
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Ich habe versucht, alle Variablen zurückzusetzen DYL***
und mit dem Befehl zu überprüfen , wie hierset
vorgeschlagen . Allerdings behebt es mein Problem nicht.
Ich verwende 10.8.2 mit Xcode 4.5 und die heute aktualisierten Befehlszeilentools.
Bitte finden Sie unten meine .profile
, ich habe keine.bash_profile
# Git
[ -f ~/.git-bash-completion.sh ] && . ~/.git-bash-completion.sh
# define colors and default command line
# h is the host name, w the complete path (W for only the current dir)
export PS1="\h:\w$ "
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export CPATH=/opt/local/include:/usr/local/include
export LIBRARY_PATH=/opt/local/lib:/usr/local/lib:/usr/lib/
export LD_LIBRARY_PATH=/opt/local/lib:/usr/local/lib
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib:/opt/local/Library/Frameworks:/usr/local/lib:/usr/lib/:$DYLD_FALLBACK_LIBRARY_PATH
# Homebrew
export CPLUS_INCLUDE_PATH="/usr/local/include:$CPLUS_INCLUDE_PATH"
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:/usr/local/lib/python:$PYTHONPATH"
# ROS
export PATH=/usr/local/lib/wxPython/bin:$PATH
# The line below is commnted because it is imported with rosjava
# If you want to remove rosjava, uncomment it in order to use ros-fuerte
source ~/Software/ros/fuerte/ros-stacks/setup.bash
# source /Users/luca/Software/ros-java/setup.bash
export ROS_HOSTNAME=luca-macbook
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Software/ros-stacks:~/Development/
export ROS_OS_OVERRIDE=osx:homebrew
export SVN_EDITOR="/usr/bin/nano"
alias GoToPhdRoot="cd ~/Documents/University/PhD"
alias Smultron="open -a Smultron\ 4"
alias MakeBuildDir="mkdir build && cd build"
function UpdateAndBuildPdf() {
svn up && pdflatex "$1" && bibtex "$1" && pdflatex "$1" && rm "$1.aux" && rm "$1.bbl" && rm "$1.blg" && rm "$1.log" && Open "$1.pdf"
}
Zu beachten ist, dass auch wenn ich die Zeile kommentiere in der ich exportiere DYLD_FALLBACK_LIBRARY_PATH
das Problem weiterhin besteht.
NB Ich habe Asepsis nicht installiert.
Ich habe herausgefunden, dass die Warnung von der Linie generiert wird
source ~/Software/ros/fuerte/ros-stacks/setup.bash
Es ist eine Zeile, die benötigt wird, wenn Sie ROS installiert haben .
Das Kommentieren der Zeile behebt das Problem. Allerdings kann ROS ohne diese Zeile nicht arbeiten.
Segiddins
Maverik
Segiddins
Segiddins