[Ltrace-devel] 0.7.0 released

Andreas Schwab schwab at linux-m68k.org
Sat Nov 10 15:32:05 UTC 2012


Petr Machata <pmachata at redhat.com> writes:

> Then perhaps it's a kernel that I haven't tested on.

This has nothing to do with the kernel, the list is maintained by ld.so.

> You are right:
>
> $ export LD_LIBRARY_PATH=.
> $ gdb ./libdl-simple
> (gdb) p *_r_debug->r_map->l_next->l_next->l_next->l_next->l_next->l_next
> $8 = {l_addr = 140737341272064, l_name = 0x601010 "./liblibdl-simple.so", l_ld = 0x7ffff75bb620, l_next = 0x0, l_prev = 0x7ffff7ffd998}
>
> Hmm, so how about this?

You get no directory part at all with "LD_LIBRARY_PATH=:".

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Ltrace-devel mailing list