← Back to issue list

Missing items in LD_LIBRARY_PATH break numpy stage-packages

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1862516
Type
issue
State
open
Author
~aglavic
Labels
Created
Updated
Closed

Current evaluation

2019 report that stage-packages python3-numpy fails at runtime because libblas/liblapack live in subdirectories not on the library search path; reporter found an LD_LIBRARY_PATH workaround. No labels, comments, or maintainer activity in 6.5 years.

Suggested action: close stale

Reason: The issue has had zero comments, no labels, and no maintainer interaction for 2395 days (~6.5 years), and it targets Ubuntu Eoan, a base that reached end-of-life in July 2020 and is no longer supported. The reporter already provided a working workaround (LD_LIBRARY_PATH pointing at $SNAP/usr/lib/x86_64-linux-gnu/blas and lapack) and noted the python-packages part avoids the problem, which is the recommended modern approach, so the specific report is no longer actionable.

Impact: 20 Quick Win: 12.0 Staleness: 95 Complexity: 40 Confidence: 70 Support Request: 55

Issue body

When trying to build a python project that used numpy by adding python3-numpy to stage-packages the import fails because libblas.so.3 and liblapack.so.3 cannot be found. The libraries are included in the snap package bud their path isn't searched during execution. I could work around it by adding these lines to my snapcraft.yaml file:     environment:       LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/x86_64-linux-gnu/blas:$SNAP/usr/lib/x86_64-linux-gnu/lapack My setup is: - VirtualBox running Ubuntu Eoan (x86_64) - Latest snapcraft from snap - Using lxd based build I assume the issue is that these libraries use a sub-directory and thus this could be a general issue in the packaging process of libraries. The issue doesn't come up when using numpy from python-packages, but this is no option when using complex dependencies like wxpython that need binary packages and depend on numpy.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12.0
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 55
close stale 2019 report that stage-packages python3-numpy fails at runtime because libblas/liblapack live in subdirectories not on the library search path; reporter found an LD_LIBRARY_PATH workaround. No labels, comments, or maintainer activity in 6.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 20
close stale Build failure when using python3-numpy in stage-packages due to missing BLAS/LAPACK libraries in LD_LIBRARY_PATH. Unresolved for over 6 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 95
Support Request: 60
close stale Reports numpy stage-packages failing at runtime due to missing BLAS/LAPACK library paths in snapcraft. Provides a workaround. Unaddressed for over 6 years on an EOL Ubuntu release.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 35
Confidence: 85
Support Request: 25
close stale Runtime failure when importing numpy from stage-packages due to unresolved BLAS/LAPACK library paths. Issue has zero comments, no labels, and has been inactive for over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 20
close stale Report of missing BLAS/LAPACK libraries in LD_LIBRARY_PATH when using python3-numpy stage-packages in snapcraft. Provides a workaround. Issue is over 6 years old with no maintainer response or follow-up.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.