Re: Problem while running RTAB-Map installed from ROS

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Problem-while-running-RTAB-Map-installed-from-ROS-tp1530p1534.html

Hi Guido,

This error happens when the linker cannot find the library on runtime in the standard paths. The rtabmap library uses multi-arch installation, so it would be installed in /opt/ros/kinetic/lib/x86_64-linux-gnu instead of /opt/ros/kinetic/lib.

For some reasons, the library paths may not be correctly set on a fresh install. Make sure to source the setup.bash in your catkin devel workspace, it sometimes add lib/x86_64-linux-gnu to LD_LIBRARY_PATH environment variable. If not automatically added, you can add it manually (or add this line at the end of your "~/.bashrc"):
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/kinetic/lib/x86_64-linux-gnu

For the rtabmap standalone, these are info logs, not warnings. However, they should not appear normally: there is a minor bug that makes think 45.0 is different than 45 (they are compared as string, not as double).

cheers