티스토리 뷰

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • gdb (GNU Debugger)

Issue

  • gdb command is not working on Server and I am getting the below error.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6.x86_64 libaio-0.3.107-10.el6.x86_64 libgcc-4.4.6-3.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64 libuuid-2.17.2-12.4.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64

Resolution

  • Install the debuginfo packages as listed by gdb message as below with command debuginfo-install
# debuginfo-install glibc-2.12-1.47.el6.x86_64 libaio-0.3.107-10.el6.x86_64 libgcc-4.4.6-3.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64 libuuid-2.17.2-12.4.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64

Root Cause

  • To debug any application need it source code and debugging symbols installed on the system to get more information with respect to individual frames in the stack.
  • So debuginfo packages of all the dependencies of the binary trying to debug need to be installed.


'찾아 본 자료' 카테고리의 다른 글

zlib 설치 방법  (0) 2018.01.04
파일 시그니처  (0) 2018.01.04
linux core dump 확인  (0) 2017.12.22
VirtualBox 해상도 늘리기  (0) 2017.12.14
구글 검색 방법  (0) 2017.12.13
공지사항
최근에 올라온 글
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31