rrbot demo won't run on macOS Sierra; "libtf2_ros.dylib image not found" [closed]
Running a brand new ROS build (jade) on macOS Sierra 10.12.1. Trying to get the rrbot demo to run. I get:
$ roslaunch rrbot_gazebo rrbot_world.launch
(some stuff)
File "/opt/ros/jade/lib/gazebo_ros/spawn_model", line 32, in <module>
import tf.transformations as tft
File "/opt/ros/jade/lib/python2.7/site-packages/tf/__init__.py", line 28, in <module>
from _tf import *
ImportError: dlopen(/opt/ros/jade/lib/python2.7/site-packages/tf/_tf.so, 2): Library not loaded: libtf2_ros.dylib
Referenced from: /opt/ros/jade/lib/python2.7/site-packages/tf/_tf.so
Reason: image not found
libtf2_ros.dylib is sitting right where it's supposed to be, in /opt/ros/jade/lib.
There's a fix where you add a line exporting DYLD_LIBRARY_PATH to the start of rosrun which is purported to fix this problem, but it doesn't work for me.