← Back to issue list

ld-linux-x86-64.so.2 links to a non-existent file

View original Launchpad issue

Metadata

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

Current evaluation

Merged canonical/snapcraft#1189 (commit 78d1883ca) to resolve the dynamic-linker symlink before checking existence during classic-snap builds, fixing this broken-link handling.

Resolution: closed resolved

Reason: Snapcraft PR canonical/snapcraft#1189 was merged as commit 78d1883ca and resolved LP #1672495 by resolving ld-linux links into the core snap before testing whether their targets existed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

In snapd, the file /snap/core/current/lib64/ld-linux-x86-64.so.2 is a link to /lib/x86_64-linux-gnu/ld-2.23.so, which doesn't exist. $ ls -lah /snap/core/current/lib64/ totalo 0 lrwxrwxrwx 1 root root 32 Nov 16 16:50 ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.23.so $ ls /lib/x86_64-linux-gnu/ld-2.23.so ls: ne eblas atingi '/lib/x86_64-linux-gnu/ld-2.23.so': Dosiero aŭ dosierujo ne ekzistas $ ls /lib/x86_64-linux-gnu/ld-2.24.so /lib/x86_64-linux-gnu/ld-2.24.so It seems that the link has to be updated to point to 2.24.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#1189 (commit 78d1883ca) to resolve the dynamic-linker symlink before checking existence during classic-snap builds, fixing this broken-link handling.
stealth/space-bunny-alpha — closed resolved Snapcraft side fixed by merged PR #1189 (commit 78d1883ca), resolving the core linker symlink before checking it; the core-snap defect was tracked separately as LP #1684063.
stealth/space-bunny-alpha — closed resolved Fixed in a core snap update by repointing ld-linux-x86-64.so.2 from missing glibc ld-2.23.so to ld-2.24.so (snapcraft#1672495).
qwen/qwen3.6-35b-a3b — — Closed and fixed. The broken symlink for ld-linux-x86-64.so.2 pointing to a non-existent glibc version was resolved by updating the link to the correct ld-2.24.so file in a core snap update.
qwen/qwen3.6-35b-a3b — — Abandoned and closed without resolution. The broken ld-linux-x86-64.so.2 symlink pointing to a non-existent ld-2.23.so was likely superseded by updated snap core releases. No fix was applied.
qwen/qwen3.6-35b-a3b — — Closed as superseded due to age and lack of activity. The broken symlink in the snap core package was resolved in subsequent core snap releases updating the glibc loader path.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The report identified a broken symlink in the snapd core snap pointing to a missing glibc version. With zero comments and no applied fix, the issue was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1189 (confidence 100%)

    Merged fix for the Snapcraft-side ordering bug; commit 78d1883ca explicitly references LP #1672495.

  • Related To: snapcraft (launchpad)#1684063 (confidence 95%)

    A separate core-snap bug was filed for the dynamic-linker symlink itself, which should have been relative.

Related issues

Issue Project State Summary Similarity
#1170 core: fix symlink resolution in get_core_dynamic_linker snapcraft merged Merged canonical/snapcraft#1170 as commit b19e9cf68, fixing relative symlink resolution in get_core_dynamic_linker so classic snap builds work on affected architectures.
74%