Wednesday, 12 August 2015

Linux debug tips

Debug dynamic libraries loading:
LD_DEBUG=files ./myprogram

Show all unresolved symbols:
ldd -r -d myprogram

Show mangled symbol names:
nm -C /home/xxx/libs/libxxxdb.so