어라 디버깅이 안 되네.
Missing separate debuginfos, use: debuginfo-install glibc-2.17-55.el7_0.3.x86_64 libgcc-4.8.2-16.2.el7_0.x86_64 libstdc++-4.8.2-16.2.el7_0.x86_64
이런게 gdb 실행 중에 보인다면.
1. debuginfos.
1 2 | yum install yum-utils debuginfo-install glibc libgcc libstdc++ | cs |
그럼 문제가 없어진다.
2. 하지만 그래도 안되는 경우엔
적절한 에디터로 다음 파일을 열어서 /etc/yum.repos.d/CentOS-Debuginfo.repo
그 중 enabled 값을 1로 변경해 보라고 한다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # CentOS-Debug.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # All debug packages from all the various CentOS-7 releases # are merged into a single repo, split by BaseArch # # Note: packages in the debuginfo repo are currently not signed # [base-debuginfo] 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 # | cs |
댓글 없음:
댓글 쓰기