In example 3.1, when running the bridge to route the image from ROS1->ROS2 I get a symbol lookup error. The commands are run in separate terminals in the order:
1
. /home/user/.bashrc_bridge
ros2 run ros1_bridge dynamic_bridge
2
. /home/user/.bashrc_ros1
rosrun image_transport republish raw in:=/bb8/camera1/image_raw out:=/image
3
. /home/user/.bashrc_ros2
ros2 run image_tools showimage
where the output in the third terminal is
user:~$ ros2 run image_tools showimage
/opt/ros/foxy/lib/image_tools/showimage: symbol lookup error: /opt/ros/foxy/lib/image_tools/showimage: undefined sym
bol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev