I am running docker in the docker container which can be found here. Additionally, I am running this from a new user profile which does not define any environment variables beyond those defined in the container itself. Given the docker configuration, the login scripts defined in a user's home directory will be called. As one can see, the solutions proposed on other threads have been implemented here, yet upon startup of the debugger, gdb immediately exits with the below:
During startup program exited with code 127.
I have attempted to add LD_LIBRARY_PATH
to the debugger env vars which has no effect. The valgrind executable is configured properly. SHELL
is set. The binary is 64 bit with the appropriate .so available.
For reference, the other similar threads discussing this topic:
- GDB failed to load so files and errors No such file or directory
- gdb During startup program exited with code 127
If there is no solution is forthcoming, I will create configurations and example source to make the full setup (not just the environment) easily reproducible.