My snap-installed app is a wxWidgets application. It runs fine after compilation and linkage, but it doesn't work once installed from a snap. I'm assuming that when I type the name of my app, that perhaps 'snapd' goes and runs the wrapper under the
/snap/<myappname>/x1/ directory. In any case, I get...
Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "gail" Gtk-Message: Failed to load module "atk-bridge" Gtk-Message: Failed to load module "unity-gtk-module" 23:11:06: Error: Unable to initialize GTK+, is DISPLAY set properly?
My only guess is that not all dependencies are found and placed inside the
/snap/<mayappname>/x1/usr/lib/x86_64-linux-gnu/ directory by snap install. I tried to test this hypothesis in two ways. First, by running out of the
prime directory before installation, but the bug isn't reproducible there. And second, by copying what I believed to be the needed libraries into the said directory, but it is read-only, even if I change the snapcraft confinement to
devmode and use the
--devmode flag during installation, and even if I try
chmod 777 . as root for crying out loud.
If anyone is interested in taking a look at my stupid project, it can be cloned from...
The snapcraft.yaml file is configured to run off of scons. I wouldn't try snapcrafting in the project root. I copy the snapcraft.yaml file over to some other directory before trying that.
I've come a long way and feel so close to actually making this thing work...just one road-block after another...I suck.