Add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH.
Metadata
Current evaluation
Merged changes adding SNAP_LIBRARY_PATH to LD_LIBRARY_PATH, resolving Launchpad bug #1570945. The three-file update received maintainer approval and was merged.
Suggested action: —
No scores available.
Issue body
This PR resolves LP: [#1570945](https://bugs.launchpad.net/snapcraft/+bug/1570945)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding SNAP_LIBRARY_PATH to LD_LIBRARY_PATH, resolving Launchpad bug #1570945. The three-file update received maintainer approval and was merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH, resolving Launchpad bug #1570945. Maintainer kyrofa authored the fix, which passed retests and received reviewer approval before integration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after test fixes, this change adds SNAP_LIBRARY_PATH to LD_LIBRARY_PATH and resolves Launchpad bug #1570945. Approved by multiple reviewers, the update was integrated to correct library path resolution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1570945 Add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH | snapcraft (launchpad) | closed | Abandoned. The proposal to add SNAP_LIBRARY_PATH to LD_LIBRARY_PATH for OS snap OpenGL support was closed without resolution or discussion. | |
| #1635 snap: remove leaking LD_LIBRARY_PATH | snapcraft | merged | Removed leaking LD_LIBRARY_PATH from the snapcraft-classic wrapper, resolving Launchpad bug #1723208. The variable leaked into the environment, breaking snaps on distros like Trusty, and was redundant given existing rpaths. Approved and merged. | |
| #460 add SNAP_LIBRARY_PATH | snapcraft | closed | Superseded by PR #462. The SNAP_LIBRARY_PATH addition for OpenGL paths was merged in the successor, which included the requested test fixes and rebase. | |
| #204 Add support for mesa libraries. | snapcraft | merged | Merged changes expanding LD_LIBRARY_PATH to include mesa library paths. Library handling was refactored into a snapcraft.libraries module per reviewer feedback. Resolves Launchpad bug #1531620 and requires backporting to the 1.x branch. | |
| #977 Prefer in-snap libraries to system libraries. | snapcraft | merged | Merged. Resolves Launchpad bug #1587358 by prioritizing in-snap libraries over system libraries during migration. Checks installdir, stagedir, and primedir to avoid unnecessary system library inclusion. Modified 9 files. | |
| #3209 extensions/desktop/common: add snapd gl vdpau dir to LD_LIBRARY_PATH | snapcraft | merged | Merged a single-line change adding the snapd GL VDPAU directory to LD_LIBRARY_PATH in the desktop common extension. The PR was merged despite three reviewers initially requesting changes and two unresolved comments. |