My Oracle Support Banner

How to Find rpm Source of a Library File (Doc ID 2568959.1)

Last updated on JANUARY 29, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86

Goal

How to find source rpm of a library file. This is needed especially when troubleshooting rpm installation failure, dependency issues.

Eg:


# rpm -i glibc-2.17-260.0.9.el7.i686.rpm
error: Failed dependencies:
libfreebl3.so is needed by glibc-2.17-260.0.9.el7.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.17-260.0.9.el7.i686


To fix issues like this, one should know which rpm provides module reported above. libfreebl3.so & libfreebl3.so(NSSRAWHASH_3.12.3 in this case. 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.