rviz: symbol lookup error
Fresh Ros Kinetic install on Ubuntu 16.04 (installed today). Try to launch RVIZ and get this error:
rviz: symbol lookup error: /opt/ros/kinetic/lib/librviz.so: undefined symbol:
_ZNK9QTreeView16viewportSizeHintEv
Things i've tried (that have not worked):
- Rebooting
- sudo apt dist-upgrade
- googling this problem
- Deleting, and remaking my catkin workspace.
Possibly relevant info:
This is a pretty standard installation of Ubuntu + ROS and the system install is pretty fresh as well. Only non-standard stuff I've done so far is I've installed nVidia video drivers to make a 1080 TI video card work and I've updated the kernel to version 4.15.2 to resolve a system clock drift issue with i9 processors.
It's missing a Qt symbol, is Qt installed and if so, what version?
Also, did you install rviz from apt or did you build it from source? If not from source, what's in your catkin workspace that might affect rviz? Are you using any custom rviz plugins? Can you start rviz if you use the default configuration?
I just tried it on my 16.04 machine (
sudo apt update; sudo apt dist-upgrade
) and rviz runs fine. You can run the default configuration withrviz -d /opt/ros/kinetic/share/rviz/default.rviz
(assuming you installed from debs).QT 4.8.7 and qt 5.5.1 are installed. Running with default configuration makes no difference, identical error (Since this is first time opening RViz it should be default config anyway)
Perhaps it is picking up Qt4 instead of Qt5? I'm not sure why/how that would happen, but it could cause the symbol issues you're seeing.