Creating relocatable Linux executables by setting RPATH with $ORIGIN

Lots of modern C/C++ projects leverage Autotools to create GNU building system e.g. generate make files based on the platform. Executable…