[PATCH] snapcraft: Fix incorrect core20 library path

Colin King colin.king at canonical.com
Mon Sep 27 11:23:05 UTC 2021


From: Colin Ian King <colin.king at canonical.com>

The libraries are now stored in usr/local, so adjust the library path

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 snapcraft.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/snapcraft.yaml b/snapcraft.yaml
index da165633..b565ef62 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -41,4 +41,4 @@ apps:
         plugs: [home, hardware-observe, io-ports-control, kernel-module-control, log-observe, system-observe ]
         command: usr/local/bin/fwts
         environment:
-            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts
+            LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/local/lib/fwts
-- 
2.32.0




More information about the fwts-devel mailing list