← Back to issue list

Snap installation fails though library dependencies are in snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2103599
Type
issue
State
open
Author
~maciek-borzecki
Labels
—
Created
Updated
Closed
—

Current evaluation

Keepalived’s riscv64 snap cannot find staged libipset and libnetsnmpmibs. An LD_LIBRARY_PATH workaround emerged, but the cross-architecture fix and ownership remain unresolved.

Suggested action: needs triage

Reason: The issue has no labels, assignee, or maintainer response, while the five comments are still exploratory. Snapcraft documentation says projects must set LD_LIBRARY_PATH when a staged library is not otherwise found, but the latest comment shows the proposed keepalived fix initially fails on amd64 and requires the architecture triplet plus both /lib and /usr/lib, leaving the correct owner and final fix unresolved.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 13 Complexity: 48 Confidence: 90 Actionability: 67

Issue body

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.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 13
Complexity: 48
Confidence: 90
Actionability: 67
needs triage Keepalived’s riscv64 snap cannot find staged libipset and libnetsnmpmibs. An LD_LIBRARY_PATH workaround emerged, but the cross-architecture fix and ownership remain unresolved.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 20
Complexity: 48
Confidence: 84
Actionability: 74
needs triage Untriaged keepalived riscv64 Snap daemon exits 127 because staged libipset and libnetsnmpmibs are not found; proposed LD_LIBRARY_PATH fixes remain unvalidated.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 18
Complexity: 56
Confidence: 88
Actionability: 78
needs triage Untriaged riscv64 Snap packaging bug: keepalived exits with status 127 when bundled libipset and libnetsnmpmibs libraries are not found; host packages mask the failure.
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 30
Staleness: 85
Complexity: 50
Confidence: 40
Support Request: 15
needs triage Snap installation fails on riscv64 when shared libraries in stage-packages cannot be loaded at runtime. No maintainer response in 518 days.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 15
needs triage Snap installation fails on riscv64 due to missing shared libraries despite being in stage-packages. Untriaged, no maintainer response, inactive for over a year.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 55
Confidence: 80
Support Request: 5
needs triage Snap keepalived fails to start on riscv64 due to missing shared libraries despite being listed in stage-packages. Unlabeled, zero comments, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 90
Support Request: 10
needs triage Snap installation fails on riscv64 due to missing shared libraries despite being in stage-packages. Untriaged, no maintainer comments, inactive for over a year.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.