Hey
I am having a snap package which I build on this machine:
Ubuntu 16.04 LTS
Linux *** 4.4.0-150-generic #176-Ubuntu SMP Wed May 29 18:56:26 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
and then install (using --devmode
) on this machine:
Ubuntu Core 16
Linux *** 4.4.0-151-generic #178-Ubuntu SMP Tue Jun 11 08:30:22 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
My snap package has worked fine for the last several months. Today it suddenly stopped working. This now fails:
$ my-pkg.my-cmd
/snap/my-pkg/x1/my-cmd: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
But when I execute the wrapper script directly, it works:
$ SNAP=/snap/my-pkg/current/ $SNAP/command-my-cmd.wrapper
Run with --help for more information.
Why (and how) is /usr/bin/snap
(where my-pkg.my-cmd
ultimately links to) breaking my package?
Thanks!