docs(user): put libs/ on the loader path for the Linux launch #1954
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1954"
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?
Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-09T02:02:16Z.
What
The Linux launch in the runtime-layout section is
chmod +x app.elf/./app.elf. That fails for any title with nestedprx → prxdependencies.The system libraries copied into
libs/carry no RUNPATH of their own (readelf -d libs/libSceAgcDriver.prx→RUNPATH []), andapp.elf's$ORIGIN/libscovers only its own direct dependencies — so a library insidelibs/cannot find its siblings, and the launch dies with<library>.prx: cannot open shared object file(exit 127) even though the file is present and valid.This adds the loader-path line to the Linux snippet and a sentence in the layout section explaining why it is needed. The PowerShell snippet is unchanged: Windows searches the executable's directory.
Tested
eboot.binrelinked,libs/copied frombuild/core/libs/libs/*.prx:./app.elf→ exit 127,libSceKeyboard.prx: cannot open shared object file(the file is present;ldd app.elfreports nothing missing, because the unmet dependency is a dependency's)LD_LIBRARY_PATH="$PWD/libs" ./app.elf→ boots, opens its resources, runsreadelf -don the staged libraries shows the empty RUNPATH that causes it.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T02:14:57Z.
Review: APPROVED
Reviewed the complete documentation diff and the reported Linux staging reproduction. The guidance explains the transitive RUNPATH limitation and gives a launch command that places libs on the loader search path; the Windows instructions remain unchanged. Build changes are correctly skipped for this documentation-only diff, and Build change detection plus Conventions pass.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:53:56Z.
Closing:
1d9d5ab491(on main since 10-05) fixed this exact case: the patcher keepsDT_RUNPATHand the prx libraries are linked with$ORIGIN, so libSceVideoOut finds libSceKeyboard withoutLD_LIBRARY_PATH. If a current-main build still showsRUNPATH [], please open an issue with thereadelf -doutput.Pull request closed