intoli / exodus

Painless relocation of Linux binaries–and all of their dependencies–without containers.
Other
2.94k stars 71 forks source link

Include all observed dependency paths in `LD_LIBRARY_PATH` #44

Closed sangaline closed 6 years ago

sangaline commented 6 years ago

In Exodus 1.0, all of an executable's dependencies were placed in a single directory which was trivial to set as a library path. Now that the original filesystem is mirrored, it's a lot more complicated to properly set the library paths. We're planning on parsing ld.conf to add additional directories, but I think it also makes sense to ensure that any dependencies are included in the library path as well. This should mostly take care of the ld.conf issues, but will also handle other edge cases as well.

Connects #43