Hello everyone,
I’m trying to implement the ROS2 bridge with RTMAPS, and facing dependency issues:
OS: Ubuntu 22.04
ROS2: Humble
RTMaps : v4.12.0
I installed the ros2 humble and ros2 bridge rtmaps packages:
ros2_humble from Link
ros2 bridge from Bridge Link
i’ve installed everything as needed and can see the files under /opt/rtmaps/packages
, but when i try to load the package i get the following error:
Error: Unable to load package /opt/rtmaps/packages/rtmaps_ros2_bridge_core_function.pck: third party dependencies may be missing (.dll/.so/.dylib files). liblibstatistics_collector.so: cannot open shared object file: No such file or directory
register <</opt/rtmaps/packages/rtmaps_ros2_bridge_core_function.pck>>
i check the existence of the said liblibstatistics_collector.so
file, and this is the output
regastation@regastation-System-Product-Name:~$ find /opt/ros/humble -name liblibstatistics_collector.so
/opt/ros/humble/lib/liblibstatistics_collector.so
regastation@regastation-System-Product-Name:~$ echo $LD_LIBRARY_PATH
/home/regastation/workspaces/ros2_ws/install/multi_agent_planner_msgs/lib:/home/regastation/workspaces/ros2_ws/install/llm_interfaces/lib:/home/regastation/workspaces/ros2_ws/install/env_builder_msgs/lib:/home/regastation/workspaces/ros2_ws/install/decomp_ros_msgs/lib:/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib
regastation@regastation-System-Product-Name:~$ ldd /opt/ros/humble/lib/liblibstatistics_collector.so
linux-vdso.so.1 (0x00007ffc1c908000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007eafb1800000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007eafb1719000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007eafb1aae000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007eafb1400000)
/lib64/ld-linux-x86-64.so.2 (0x00007eafb1b08000)
regastation@regastation-System-Product-Name:~$ ldd /opt/rtmaps/bin/rtmaps_runtime
linux-vdso.so.1 (0x00007fffab6bc000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa9ede00000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa9ee06d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa9eda00000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa9edd19000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa9ee0c7000)
according to the ros bridge trouble-shooting page -
I tried both option 1 & 2, but i still get the error
Please help sort this out.