Add support for mesa libraries.
Metadata
Current evaluation
Merged #204 via f8d8ee79d, adding Mesa library paths to LD_LIBRARY_PATH and moving library handling into snapcraft.libraries; resolves LP #1531620.
Resolution: closed resolved
Reason: PR #204 was merged as f8d8ee79d, with implementation commit da00836e9. It added Mesa library directories and extracted library-path handling into snapcraft.libraries, resolving LP #1531620.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Currently Snapcraft adds only a few standard paths to LD_LIBRARY_PATH. This PR expands that to include paths used by mesa packages.
This will need to be backported to 1.x once approved.
Resolves LP: [#1531620](https://bugs.launchpad.net/snapcraft/+bug/1531620)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #204 via f8d8ee79d, adding Mesa library paths to LD_LIBRARY_PATH and moving library handling into snapcraft.libraries; resolves LP #1531620. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #204 via f8d8ee79d, expanding LD_LIBRARY_PATH with Mesa library paths and moving library handling into snapcraft.libraries; resolves LP #1531620. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds mesa library paths to LD_LIBRARY_PATH, resolving Launchpad bug #1531620. Library handling was refactored into a snapcraft.libraries module per review. Requires backport to the 1.x branch. |
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 | 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. | |
| #1531620 Snapcraft should expand its default LD_LIBRARY_PATH to include libGL | snapcraft (launchpad) | closed | libGL support was implemented by adding Mesa library paths to the default LD_LIBRARY_PATH; PR #204 was merged in commit f8d8ee79d. |