From e5e5756e09dbd1ed3ba86dfd3fa4ed4946abcc5b Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Sun, 15 Jul 2018 02:11:21 -0700 Subject: [PATCH] Make Snap library path explicit to track down segfault --- snap/snapcraft.template.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.template.yaml b/snap/snapcraft.template.yaml index b3e7c10c8..99a1b9070 100644 --- a/snap/snapcraft.template.yaml +++ b/snap/snapcraft.template.yaml @@ -38,6 +38,8 @@ apps: command: desktop-launch $SNAP/usr/share/mailspring/mailspring desktop: usr/share/applications/mailspring.desktop environment: + LD_LIBRARY_PATH: $SNAP_LIBRARY_PATH:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio:$SNAP/usr/lib/x86_64-linux-gnu/mesa-egl:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu + PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH # Correct the TMPDIR path for Chromium Framework/Electron to # ensure libappindicator has readable resources. HOME: $SNAP_USER_COMMON