Rviz symbol lookup error
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?
thx.
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.I‘ll download one to replace this one. thx.