Rviz symbol lookup error

asked 2018-05-31 04:38:18 -0600

TifferPelode gravatar image

Hello everyone,

When I run rviz under Kinetic on minipc, it show me this:

rosrun rviz rviz 
/opt/ros/kinetic/lib/rviz/rviz: symbol lookup error: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: undefined symbol: _ZN24QAbstractDeclarativeData15setWidgetParentE

It seems there are some wrong with Qt.

I had saw some questions just like this,but get nothing to solve this.

ldd /opt/ros/kinetic/lib/librviz.so | grep Qt
libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f936b63f000)
libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f9369640000)
libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f9368f9a000)

there is no wrong with the librviz,can someone tell me how to solve this?


edit retag flag offensive close merge delete


It looks like a problem with the libQt5Widgets.so shared library itself. Do any other Qt applications have trouble? It might not be an rviz or ros specific issue.

William gravatar image William  ( 2018-05-31 17:49:49 -0600 )edit

I‘ll download one to replace this one. thx.

TifferPelode gravatar image TifferPelode  ( 2018-05-31 21:22:33 -0600 )edit