rtabmap bin commands do not work

Posted by Tracy on
URL: http://official-rtab-map-forum.206.s1.nabble.com/rtabmap-bin-commands-do-not-work-tp888.html

Hi Dr.Matlabbe

I installed rtabmap and rtabmap_ros from the source code based on opencv with nonfree, GTSAM, g2o and cvsba(They all were built form source code). When I run the rtabmap bin command like rtabmap-databaseViewer, there is a error that 'rtabmap: error while loading shared libraries: libgtsam.so.4: cannot open shared object file: No such file or directory'. But I find the libgtsam.so.4 is already in /usr/local/lib/libgtsam.so.4. How to handle this?

Many thanks!