Robotics StackExchange | Archived questions

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!!

Asked by Godbless on 2021-01-03 04:22:20 UTC

Comments

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.

Asked by gvdhoorn on 2021-01-03 05:22:07 UTC

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.

Asked by Akhil Kurup on 2021-01-04 01:00:52 UTC

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.

Asked by JoSch on 2021-03-23 10:35:15 UTC

I got the same error, which I can start rviz successfully in the morning but failed in the afternoon....

Asked by vincent_yangyang on 2021-03-31 20:18:40 UTC

I have rviz version 1.14.7 and facing this symbol lookup error. Was someone able to find a solution to this?

Asked by spanthr on 2021-05-17 10:10:22 UTC

Answers