dyld message when launching commands as sudo
I found out that the warning is generated by the line

source ~/Software/ros/fuerte/ros-stacks/setup.bash


It is a line needed if you have installed ROS.

Commenting the line fixes the problem. However ROS cannot work without this line.