首页 > mac 下使用GDB调试程序出现问题?求解答!
就是这些文件不在啊。ldd a.out可以查看连接了哪些动态库。gdb本身可以用set solib-search-path /xxxx命令来设定库的路径。
ldd a.out
gdb
set solib-search-path /xxxx