Re: libopencv_core3.so.3.2 runtime error

Posted by Ross_L on
URL: http://official-rtab-map-forum.206.s1.nabble.com/libopencv-core3-so-3-2-runtime-error-tp4152p4156.html

Hello there, and thank you for the response!

It seems there was a deeper issue. I installed Jetpack 3.1 on an Nvidia TX2, and apparently it has a known issue with affecting apt-get update on both the board and the host machine. Basically I thought I was updating, but I wasnt! After some tweaking I managed to get kinetic to update, and now freenect at least does work no problems. When I run 'rtabmap' from the terminal, it runs fine.

When I check my installed opencv3 ROS version, I see 3.3.1. rosversion roscpp tells me I have kinetic 1.12.12. I do not have any rtabmap "from source" files in my catkin_ws workspace.

I have sudo make uninstalled the standalone rtabmap from within rtabmap/build, and removed / reinstalled ros-kinetic-rtabmap and ros-kinetic-rtabmap-ros. However I am still getting a failure when running the ROS wiki recommended code:

roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start"

Errors as follows:

process[rtabmap/rgbd_odometry-1]: started with pid [6176]
/home/ross/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry: error while loading shared libraries: librealsense.so.1: cannot open shared object file: No such file or directory

process[rtabmap/rtabmap-2]: started with pid [6177]
/home/ross/catkin_ws/devel/lib/rtabmap_ros/rtabmap: error while loading shared libraries: librealsense.so.1: cannot open shared object file: No such file or directory

process[rtabmap/rtabmapviz-3]: started with pid [6178]
/home/ross/catkin_ws/devel/lib/rtabmap_ros/rtabmapviz: error while loading shared libraries: libopencv_core3.so.3.2: cannot open shared object file: No such file or directory

[rtabmap/rgbd_odometry-1] process has died [pid 6176, exit code 127, cmd /home/ross/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry 
--delete_db_on_start rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info __name:=rgbd_odometry __
log:=/home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rgbd_odometry-1.log].
log file: /home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rgbd_odometry-1*.log

[rtabmap/rtabmap-2] process has died [pid 6177, exit code 127, cmd /home/ross/catkin_ws/devel/lib/rtabmap_ros/rtabmap 
--delete_db_on_start rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/
camera_info:=/camera/rgb/camera_info left/image_rect:=/stereo_camera/left/image_rect_color right/image_rect:=/stereo_camera/right/
image_rect left/camera_info:=/stereo_camera/left/camera_info right/
camera_info:=/stereo_camera/right/camera_info scan:=/scan scan_cloud:=/scan_cloud __name:=rtabmap __log:=/
home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rtabmap-2.log].
log file: /home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rtabmap-2*.log

[rtabmap/rtabmapviz-3] process has died [pid 6178, exit code 127, cmd /home/ross/catkin_ws/devel/lib/rtabmap_ros/rtabmapviz -d 
~/.ros/rtabmap_gui.ini rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info left/
image_rect:=/stereo_camera/left/image_rect_color right/image_rect:=/stereo_camera/right/
image_rect left/camera_info:=/stereo_camera/left/camera_info right/camera_info:=/stereo_camera/right/camera_info scan:=/scan scan_cloud:=/scan_cloud __name:=rtabmapviz 
__log:=/home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rtabmapviz-3.log].
log file: /home/ross/.ros/log/0c96b322-f940-11e7-b105-382c4a71b838/rtabmap-rtabmapviz-3*.log

If I can avoid using the sim link method I would prefer to. Any thoughts on troubleshooting this? I appreciate the nvidia apt-get update problem complicates the picture a little!