You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipk-verify: discover libraries via bundled libs' own RUNPATH
list_libs only scanned the executable's rpath dirs and the top-level
lib/ dir, and LibraryInfo::parse never read DT_RUNPATH/DT_RPATH. So a
dependency bundled in a subdirectory that a library locates through its
own $ORIGIN-relative runpath was reported as a missing library with all
its symbols undefined — even though the loader resolves it fine.
This is the libpulse case in apps-repo PR #190: libpulse.so.0 (in lib/)
has RUNPATH $ORIGIN/pulseaudio and its pa_* symbols are provided by the
bundled lib/pulseaudio/libpulsecommon-15.0.so, which the flat scan never
collected.
Capture DT_RUNPATH/DT_RPATH in LibraryInfo, and turn list_libs into a
breadth-first walk that follows each bundled library's own runpath
($ORIGIN-relative) to discover further bundled directories. Adds a
fixture-based parse test plus the regression coverage.
Bumps bin-lib 0.1.1 -> 0.1.2, ipk-lib 0.1.3 -> 0.1.4,
ipk-verify 0.1.5 -> 0.1.6.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011jY7WzoWeU9TWRBhWJ2Wbq
0 commit comments