rviz symbol lookup error
When I attempt to launch a simulation I get a symbol lookup error and a joint state publisher panel launches but not the main rviz window. The error I get is:
/opt/ros/groovy/lib/rviz/rviz: symbol lookup error: /opt/ros/groovy/lib/librviz.so: undefined symbol: _ZN12class_loader11ClassLoader37has_unmananged_instance_been_created_E [rviz-4] process has died [pid 4967, exit code 127, cmd /opt/ros/groovy/lib/rviz/rviz -d /home/frank/Documents/Robotics/clamArm_wrkspc/clam_catkin/src/clam_bringup/launch/rviz/clam_simulation.rviz __name:=rviz __log:=/home/frank/.ros/log/d32ca0f4-7615-11e2-b08c-001c7b74b70a/rviz-4.log]. log file: /home/frank/.ros/log/d32ca0f4-7615-11e2-b08c-001c7b74b70a/rviz-4*.log
Does anyone know what causes this or how to fix it?
I am getting the exact same error, if you figure it out you should post :)
Similarly, I try to run rviz on kinetic and get the following error: /opt/ros/kinetic/lib/rviz/rviz: symbol lookup error: /opt/ros/kinetic/lib/librviz.so: undefined symbol: _ZNK9QTreeView16viewportSizeHintEv Besides, I tried "dist-upgrade" but the problem is not solved.