4 ms·
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 l
by kazinator 2y ago
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.