Comment Comment by higerordermap > Well, you could, if you could rely on LD_LIBRARY_PATH to be set to "." by default.It's actually supported without LD_LIBRARY_PATH hacks, using DT_RPATH. You can do that by passing -rpath '$ORIGIN' to linker IIRC. parent higerordermap 5 years ago
It's actually supported without LD_LIBRARY_PATH hacks, using DT_RPATH. You can do that by passing -rpath '$ORIGIN' to linker IIRC.