Re:Suckless.org: software that sucks less
by kazinator on Saturday February 22, 2025 @09:20PM
(#43145708)
All what work? Just adding -R '$ORIGiN' when linking the program will then cause it to look for shared libs in its own directory.
The program still looks for libc in the system directory.
The argument for this is that if you ship software that features multiple executables that share code, they can have it as shared libraries, and easily find it relative to their own location, just like on Windows.
The program still looks for libc in the system directory.
The argument for this is that if you ship software that features multiple executables that share code, they can have it as shared libraries, and easily find it relative to their own location, just like on Windows.