2009-06-16

Unable to open "librpm.so"? Perhaps rpm-devel is missing.

In Fedora 11, are you getting something like this when using gdb when you're missing some debug info files? 
Unable to open "librpm.so" (librpm.so: cannot open shared object file: No such file or directory), missing debuginfos notifications will not be displayed.
I was, and it meant that gdb couldn't suggest which package I had to debuginfo-install to get the
misisng debug information and symbols.

I did a locate for librpm.so and found librpm.so.0 and friends in /usr/lib.   Guessing that's where librpm.so was supposed to be, I did "yum whatprovides /usr/lib/librpm.so" and that told me rpm-devel-4.7.0, which I then installed.

After that, I ran gdb on the process I wanted to inspect again, and ta-da, I am finally told the name of the package which I need to install to get my debugging symbols.  Copy, paste, yay. 




Labels: , , , , , , ,

0 Comments

<< Home