← Back to issue list

LD_LIBRARY_PATH hardcoded at snap creation time -- RPATH

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1486623
Type
issue
State
closed
Author
~lool
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

The suggestion to replace hardcoded LD_LIBRARY_PATH with runtime values or RPATH was closed without resolution. No discussion or implementation occurred, leaving the request abandoned.

Suggested action:

No scores available.

Issue body

Hi, LD_LIBRARY_PATH currently includes triplet as computed at snap creation time, but it should rather be set at runtime on a per-architecture basis. In fact, a better approach would be to set a RPATH relative to the binary: $ORIGIN/../../lib/$PLATFORM, or something like that. Cheers,

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b The suggestion to replace hardcoded LD_LIBRARY_PATH with runtime values or RPATH was closed without resolution. No discussion or implementation occurred, leaving the request abandoned.
qwen/qwen3.6-35b-a3b Proposed runtime RPATH configuration instead of hardcoded LD_LIBRARY_PATH was closed without resolution. The suggestion was abandoned with no implementation or comments recorded.
qwen3.6-35b-a3b-mtp-q6 A request to replace hardcoded LD_LIBRARY_PATH with dynamic RPATH was closed without resolution or discussion, indicating it was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#38 LD_LIBRARY_PATH hardcoded at snap creation time -- RPATH snapcraft closed Closed and superseded by Launchpad tracking. Maintainer directed future bug reports to Launchpad. No repository changes were made.
81%
#1642041 LD_LIBRARY_PATH values are inconsistent when working with others snapcraft (launchpad) closed Abandoned. The report highlights inconsistent LD_LIBRARY_PATH values in snap wrapper scripts across different build environments, causing runtime discrepancies. No fix or workaround was implemented.
75%
#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.
74%