Error: "rpm: error while loading shared libraries: librpmbuild.so.1: cannot open shared object file: No such file or directory"

(Doc ID 2309835.1)

Last updated on SEPTEMBER 27, 2017

Applies to:

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

Symptoms

Running "rpm -qa" command produces the below error:

# rpm -qa
rpm: error while loading shared libraries: librpmbuild.so.1: cannot open shared object file: No such file or directory

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms