[lttng-dev] dlopen, gcc -l and LD_PRELOAD

Christian Babeux christian.babeux at efficios.com
Wed Mar 20 12:38:59 EDT 2013


Hi Daniel,

>    Meanwhile I've been playing with some very simple examples of .so use, and found that the behaviour of LD_PRELOAD is incompletely documented.  For instance, if I run:

Take a look at "man 8 ld.so". It should answer most of the questions
you have about the dynamic linker libraries lookup mechanism.

>    The above should explain the trouble I've been having with lttng-ust's doc/examples/easy-ust and tests/demo.

Glad to see that you solved your issue!

Thanks,

Christian



More information about the lttng-dev mailing list