A target library "lib42.so" has DT_DEBUG entry in the .dynamic section.

After dlopen("lib42.so", RTLD_LOCAL | RTLD_NOW) succeded, r_debug->d_un.d_ptr is equal to zero. Why?

closed as unclear what you're asking by peter ferrie, kn0x, perror, sudhackar, dingo_kinznerhook Mar 22 at 14:36

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


You should probably check the dynamic linker source code to be sure but I suspect that DT_DEBUG is only filled for the main binary and not the additional modules.

Not the answer you're looking for? Browse other questions tagged or ask your own question.