It’s struggling to find the gnome-vfs modules. These are stored at usr/lib/$SNAPCRAFT_ARCH_TRIPLET/gnome-vfs-2.0
.
I got everything working beyond that error with:
layout:
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/gnome-vfs-2.0:
bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/gnome-vfs-2.0
You’re also missing a perl library: XML/SAX/Expat.pm
. This is in the package, which needs to be added to stage-packages
, called libxml-sax-expat-perl
.