Thinking about this a little more, I took the advice here and ran something like cat /proc/$pid/maps | awk '{print $6}' | sort | uniq
. I noticed that some of the objects libraries listed included some .so
files that were some sort of local cache for javafx (i.e. in ~/snap/autopsy/current/.openjfx
were three files: libglass.so
, libglassgtk3.so
, and libprism_sw.so
). Is there any ld path scanning that determines if object libraries from referenced snaps are included in the final snap, and in this case, does the gnome extension only link relevant libraries if snapcraft determines that they will be used? I know I get warning messages indicating a certain library isn’t used anywhere in the snap. I wasn’t sure if that impacts the final generated snap.