How to force yum to set debug symbols as well?

yum install libevent-devel 

How to also set debugging symbols

+4
source share
2 answers

Here is the debuginfo-install script helper that will find the appropriate packages, but you still need to feed it with the (base) package name.

Note: dnf (which replaced yum ) has the same helper script (in dnf-plugins-core ); and gdb in recent Fedoras (at least) will list the whole list when it loads for you.

+5
source

If you refer to knotify, giving you a message that you do not have debugging symbols, then you just need to install the appropriate app-debuginfo package.

I usually use yumex, but you can do it oldschool as follows:

 yum search app yum install app-debuginfo 

You may also have to manually search for a stack trace for any lines that have (??)

 #6 0xb7975bdc in ?? () from /usr/lib/libkmailprivate.so.4 

and then manually find and install the debuginfo packages

 yum provides "/usr/lib/libkmailprivate.so.4" yum install found-debuginfo 

Hope this helps!

+2
source

Source: https://habr.com/ru/post/1346173/


All Articles