Public bug reported:

I tried to install snap keepalived on a riscv64 system on which the
packages libsnmp40 and libipset13 were not installed and received errors

Mar 19 10:42:35 node keepalived.daemon[255429]: 
/snap/keepalived/2945/usr/sbin/keepalived-519: error while loading shared 
libraries: libipset.so.13: cannot open shared object file: No such file or 
directory
Mar 19 10:42:35 node systemd[1]: snap.keepalived.daemon.service: Control 
process exited, code=exited, status=127/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support

Mar 19 10:45:18 node keepalived.daemon[256538]: 
/snap/keepalived/2945/usr/sbin/keepalived-519: error while loading shared 
libraries: libnetsnmpmibs.so.40: cannot open shared object file: No such file 
or directory
Mar 19 10:45:18 node systemd[1]: snap.keepalived.daemon.service: Control 
process exited, code=exited, status=127/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support


After installing packages libsnmp40 and libipset13 the installation succeeded.

This is unexpected as libsnmp40 and libipset13 are in stage-packages and
the following paths are valid:

/snap/keepalived/current/usr/lib/riscv64-linux-gnu/libnetsnmpmibs.so.40 -> 
libnetsnmpmibs.so.40.1.0
/snap/keepalived/current/usr/lib/riscv64-linux-gnu/libipset.so.13 -> 
libipset.so.13.3.0

The snap source is available at https://github.com/acassen/keepalived.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103599

Title:
  Snap installation fails though library dependencies are in snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2103599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to