yum install libevent-devel
How to make it also install debug symbols??
debuginfo-install is a program which installs the RPMs needed to debug the specified package. The package argument can be a wildcard, but will only match installed packages. debuginfo- install will then enable any debuginfo repositories, and install the relevant debuginfo rpm.
A debug symbol is a special kind of symbol that attaches additional information to the symbol table of an object file, such as a shared library or an executable.
A useful debuginfo package contains stripped symbols from ELF binaries ( *. debug in /usr/lib/debug ) as well as the source code related to them (in /usr/src/debug ). The script that generates the packages is /usr/lib/rpm/find-debuginfo.sh , read it through to get a basic understanding of how they're generated.
There's a helper script debuginfo-install that will find the appropriate packages, but you still need to feed it the (base) package name(s).
Note: dnf
(which replaced yum
) has the same helper script (in dnf-plugins-core
); and gdb
on recent Fedoras (at least) will enumerate the entire listing when it's loaded for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With