From: Joseph K. <jk...@us...> - 2012-11-11 02:56:40
|
> But whenever I run the code, it fails at elf_update() and prints out “main: elf_update() failed : cannot write data to file.” The string 'cannot write data to file' is not one of the strings returned by the Elftoolchain implementation of elf_errmsg(3). On the other hand, that string seems to be present in the libelf.so binary, provided by the "libelf1" package in Ubuntu. You might want to check the libraries your application is being linked with. -- Joseph Koshy |