Add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH
Metadata
Current evaluation
Fixed in canonical/snapcraft#462, merged as commit a983e470b, by prepending SNAP_LIBRARY_PATH to generated LD_LIBRARY_PATH values so binaries use the OS snap's OpenGL libraries.
Resolution: closed resolved
Reason: PR canonical/snapcraft#462 explicitly resolves Launchpad bug #1570945 and was merged as commit a983e470b. It updates LD_LIBRARY_PATH to include SNAP_LIBRARY_PATH.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This will make sure binaries use the opengl in the OS snap.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed in canonical/snapcraft#462, merged as commit a983e470b, by prepending SNAP_LIBRARY_PATH to generated LD_LIBRARY_PATH values so binaries use the OS snap's OpenGL libraries. | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged PR canonical/snapcraft#462 (commit a983e470b), adding SNAP_LIBRARY_PATH to LD_LIBRARY_PATH so binaries use the OS snap's OpenGL. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposed adding SNAP_LIBRARY_PATH to LD_LIBRARY_PATH to ensure binaries use OS snap OpenGL. The request was closed without implementation, merge, or further discussion. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The proposal to add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH for OS snap OpenGL support was closed without resolution or discussion. | |
| qwen/qwen3.6-35b-a3b | — | — | Requesting addition of SNAP_LIBRARY_PATH to LD_LIBRARY_PATH for OS snap OpenGL support was closed without discussion or implementation, indicating it was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The proposal to add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH for snap OpenGL support was closed without implementation or discussion. No resolution was applied. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#462
(confidence 100%)
Merged PR implementing the requested SNAP_LIBRARY_PATH handling and linked as resolving #1570945.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #462 Add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH. | snapcraft | merged | PR #462 by kyrofa merged as commit a983e470b, prefixing the generated LD_LIBRARY_PATH with ${SNAP_LIBRARY_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} so snaps pick up host OS snap libraries. Resolves LP bug #1570945. | |
| #204 Add support for mesa libraries. | snapcraft | merged | Merged #204 via f8d8ee79d, adding Mesa library paths to LD_LIBRARY_PATH and moving library handling into snapcraft.libraries; resolves LP #1531620. | |
| #1635 snap: remove leaking LD_LIBRARY_PATH | snapcraft | merged | Merged as da9181487: PR #1635 removed LD_LIBRARY_PATH leakage from snapcraft-classic, fixing LP #1723208 and preventing breakage on hosts such as Trusty. | |
| #1975498 PATH/LD_LIBRARY_PATH not set in snapcraft 7.0 | snapcraft (launchpad) | closed | PATH/LD_LIBRARY_PATH regression in core22 snaps was fixed by PR #3758, merged as 6e8835dc8 and released in Snapcraft 7.1. |