问题
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