Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
##Environment:
os: centos 7.3
Problem description
When debugging with GDB, the following error appears
Missing separate debuginfos, use: debuginfo-install glibc-2.17-196.el7_4.2.x86_64 libgcc-4.8.5-16.el7_4.2.x86_64 libstdc++-4.8.5-16.el7_4.2.x86_64 nss-softokn-freebl-3.28.3-8.el7_4.x86_64
Solutions
1. Open debuginfo repo
Create in/etc/yum.repos.d/ or modify enabled = 1
in the existing CentOS debuginfo. Repo
file to enable repo
[debug]
name=CentOS-7 - Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=1
2. Update yum
yum makecache fast
3. Install Yum utils
debuginfo install
this command is included from the yum utils package
yum install yum-utils -y
4. Install debuginfo package
Execute the following command to install
debuginfo-install glibc-2.17-196.el7_4.2.x86_64 libgcc-4.8.5-16.el7_4.2.x86_64 libstdc++-4.8.5-16.el7_4.2.x86_64 nss-softokn-freebl-3.28.3-8.el7_4.x86_64
Similar Posts:
- [Solved] Centos6.8 yum Error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- Centos6.8 yum Error & Fix YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- When centos7 uses yum, file contains no section headers
- This system is not registered with an entitlement server. You can use subscription-manager to reg…
- [Solved] Linux yum: One of the configured repositories failed (Unknown), and yum doesn’t have.
- [How to Solve] Centos 14: problem making ssl connection
- Centos6 Yum Error: Cannot find a valid baseurl for repo: base
- [Solved] Docker Install Error: repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found Trying other mirror.
- linux:/lib/libc.so.6: version `glibc_2.7′ not foun
- Install CentOS development tools