I'm unable to run Veracrypt on 18.10 Cosmic, it says that gtk library is missing.
veracrypt: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
However, when I locate
it, it is there, as a snap package
$ locate libgtk-x11-2.0.so.0
/snap/gnome-3-26-1604/70/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/gnome-3-26-1604/70/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
How to make it work with snap libgtk?
According to the search on packages.ubuntu.com you need to install one package:
Your results from
locate
command are correct, but these libraries are used locally by their parent Snaps.