fix(build): STEP 7 needs LD_LIBRARY_PATH for the staged system libs #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/step7-ldpath"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first profile=x264 build to reach STEP 7 (post #46) got a new exit-127: the encoder test binary now genuinely links libx264.so.164, but
BUILD.gn:x264deliberately sets no rpath (the runtime image provides the libs on its default path) and the build host's loader knows nothing about/work/system-libs— the binary dies at exec (error while loading shared libraries: libx264.so.164) before gtest starts. The framesink suite (no system libs) reportedSUCCESS: all tests passedin the same run — plumbing works, only the loader path was missing.Export
LD_LIBRARY_PATH=/work/system-libs/libfor the test step: both binaries + future targets, appends any pre-set path, no-op for sw-profile builds.Verify-loop onion layer 4 (lane skipped tests → profile pipe severed → stale sw binary → loader path) — each only visible after the previous was fixed. Verification build from this branch is running on t7.
🤖 Generated with Claude Code