gdb在调试程序时候提示 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.i686
工具/原料
1
kernel-debuginfo-common-xxxxx
2
kernel-debuginfo-xxxx
方法/步骤
2
安装debuginforpm -ivh kernel-debuginfo-common-xxxxxrpm -ivh kernel-debuginfo-xxxx
3
配置yum源For this to work, you need to have the debuginfo repository defined. For CentOS 5, put the following in /etc/yum.repos.d/CentOS-Base-debuginfo.repo:[base-debuginfo] name=CentOS-$releasever - DebugInfo baseurl=http://debuginfo.centos.org/$releasever/$basearch/ gpgcheck=0 enabled=0 protect=1 priority=1
4
利用debuginfo-install安装glibcdebuginfo-install glibc
注意事项
安装debuginfo 去http://debuginfo.centos.org寻找和你内核完全匹配的rpm包。
上一篇:翻新沙发如何保养与清洗
下一篇:为家具添上金秋的气息