Background
We want to convert the slow wrapper script into a C++ binary, which would be much faster.
For that we need to be sure that changing the environment variable LD_LIBRARY_PATH before replacing the program of the current process using execve has the desired effect.
Acceptance Criteria
The goal is to write two minimal C++ programs:
- The first loads a shared library which is not in the system
LD_LIBRARY_PATH / is linked against this shared library.
- The second modifies the
LD_LIBRARY_PATH and calls the first binrary with execve.