rviz: won't start, symbol lookup error
Hi I'm using Ubuntu 18.04 and ros melodic. I'm a rookie in Linux and have been trapped for a long time. The error message is
yukun@yukun-xx:~$ rviz
[ INFO] [1609665391.478169493]: rviz version 1.13.15
[ INFO] [1609665391.478212214]: compiled against Qt version 5.9.5
[ INFO] [1609665391.478221917]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1609665391.483758677]: Forcing OpenGl version 0.
[ INFO] [1609665391.633321470]: Stereo is NOT SUPPORTED
[ INFO] [1609665391.633407262]: OpenGl version: 3,1 (GLSL 1,4).
rviz: symbol lookup error: /opt/ros/melodic/lib/libtf.so: undefined symbol: _ZN7tf2_ros17TransformListenerC1ERN3tf210BufferCoreERKN3ros10NodeHandleEb
Really appreciate your help!!
ros-visualization/rviz#1575 seems related.
Something for you to check: do you have any outstanding updates for ROS packages?
You cannot update individual packages (or at least: it's not something I would recommend until you get a bit more experience).
if you have any
ros-melodic-*
packages waiting to be updated, please install them.Seems like some part of the rviz core hasn't been installed properly. Can you try to
apt install ros-melodic-desktop-full
and see if that helps? If not, I am afraid you might have to uninstall ros completely and re-install it.I'm getting the same error for rviz version 1.13.16 and the same specs otherwise. I had rviz running smoothly last year. But since the second last update it is throwing me that error.
I got the same error, which I can start rviz successfully in the morning but failed in the afternoon....
I have rviz version 1.14.7 and facing this symbol lookup error. Was someone able to find a solution to this?