I have just installed the latest CUDA on my Ubuntu 16.04.6 LTS machine. Everything is working fine (I can compile and run my CUDA code), but nvidia-settings fails:
ERROR: /usr/lib/libnvidia-gtk3.so.440.33.01: undefined symbol: gtk_widget_hide_on_delete libnvidia-gtk3.so: cannot open shared object file: No such file or directory /usr/lib/libnvidia-gtk2.so.440.33.01: undefined symbol: gtk_widget_hide_on_delete libnvidia-gtk2.so: cannot open shared object file: No such file or directory ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this library when calling nvidia-settings. Please run `nvidia-settings --help` for usage information.
Thanks for any help.