I am trying to use gs command (ghostscript) inside a python script, but it seems that gs is not able to find the GS_LIB path (that is usually /usr/share/ghostscript/…)
I am sure this folders/files are present on the snap, and trying to set this variable on both snapcraft.yaml and hardcoding it on subprocess env option does not work.
I thought it would be nice to have a solution that works without having to care about GS’ version numbers in the future. For my core20 snaps I have added this to my snapcraft.yaml: