Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.1.x86_64

半世苍凉 提交于 2021-02-07 19:01:01

问题


I know this question is answered already in another thread, however I tried all the solutions given in the other thread including -

Searching for the package, trying to install the package, installing yum-utils and debuginfo-install glibc

Finally, I even set enabled=1 and gpgcheck=0 in redhat.repo under /etc/yum.repos.d, what else should be done for me to get rid of this error?

What I am trying to do is, debug a program(using gdb) with a shared object library. The program and .so file are both compiled on the same server(Redhat Maipo) and I am still seeing this error. I can't step through the code as a result - or are the two unrelated?


回答1:


I am still seeing this error.

It isn't an error.

I can't step through the code as a result - or are the two unrelated?

Which code are you trying to step through?

Missing glibc-2.17-157.el7_3.1.x86_64 will only prevent you from stepping through GLIBC itself. Installing it will not help if the code you are trying to step through is the code you compiled yourself (which your question implies is exactly what you are trying to do).



来源:https://stackoverflow.com/questions/43982681/missing-separate-debuginfos-use-debuginfo-install-glibc-2-17-157-el7-3-1-x86-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!