"Missing separate debuginfos" on a non-root account

I have the same problem as here:

There is no separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6_2.9.i686 libgcc-4.4.6-3.el6.i686 libstdC ++ - 4.4.6- 3.el6.i686

However, I am not a root user, so I cannot just run debuginfo-install ... I was wondering if I have a relatively easy way to get these libraries and add the Path to them in my home directory without using a root account.

+6
source share
1 answer

There is a way, although I'm not sure I would call it easy. The essential idea is to install the files in $HOME and then tell gdb how to find them.

The steps are as follows:

  • Download the RPM.
  • Install them somewhere in $HOME . Sometimes you can do this with rpm -i --prefix=... , although I don't know if this will work for RPM debuginfo. You can always extract files from RPM using cpio . Remember to save the directory names.
  • In gdb, use set debug-file-directory to tell gdb to look at your new directory. Here you can place several directories by dividing them by ; .

After this, some reuse of the source directories may be required (see dir ).

It might be worth noting that you usually don't need a debuginfo system.

0
source

All Articles