There is a coredump from a fallen program running on another machine. There are libraries that coredump refers to. But the path to the libraries when you run the software on another machine is different from the path to the libraries on the machine where gdb runs.

Therefore, the question is: how to set the path to these libraries in gdb?

    1 answer 1

    Not only are the paths different, the libraries themselves are, so more likely, different.

    you need to get exactly the same files that were used on the “other” machine. The path to the hierarchy of the copied libraries can be specified using:

    set sysroot путь 

    or (it is a synonym):

     set solib-absolute-prefix путь 

    For details, see info gdb or online .