How to debug search

this sequel How does chroot affect dynamic linking?

My process uses chroot for the jail itself. However, I am having a hard time getting the libraries subsequently loaded (like importing a python extension module) to dynamically reference the process now in jail correctly. Part of the difficulty is not having much understanding of what's going on with I'm not sure where he's looking, and I'm not sure if things like RPATH and LD_LIBRARY_PATH refer to inside the chroot jail or outside.

Is there a way to run in "verbose" mode, where it logs what paths it looks for, and where if it finds the requested libraries?


source to share

All Articles