The attached patch fixes this problem. -=# Paul #=- PS: it's named 'x86_fix.patch' because I found and fix the error on an x86 system 8-)
Index: elf.c =================================================================== RCS file: /cvsroot/ltrace/ltrace/elf.c,v retrieving revision 1.9 diff -a -u -r1.9 elf.c --- elf.c 22 Dec 2005 22:37:16 -0000 1.9 +++ elf.c 22 Dec 2005 23:58:02 -0000 @@ -388,7 +388,7 @@ error (EXIT_FAILURE, 0, "Couldn't get relocation from \"%s\"", proc->filename); - if ( ! sym.st_value) + if ( ! sym.st_value && PLTs_initialized_by_here) proc->need_to_reinitialize_breakpoints = 1; name = lte->dynstr + sym.st_name;