Monitoring, Management & Location Tracking

Error while loading shared libraries; failed dependencies; missing rpm package

Aruba Employee
Aruba Employee

One or more CentOS packages are missing when doing an upgrade. (Example: customer has modified CentOS and now AMP can't find some library that it needs.)

The error you get looks something like this:

/root/svn/mercury/bin/rpmver: error while loading shared libraries: cannot open shared object file: No such file or directory
error: Failed dependencies: is needed by vim-enhanced-7.0.109-3.el5.3.i386 

Run the following command on the library in question to find out what package is missing:

# rpm -q --whatprovides [LIBRARY]


# rpm -q --whatprovides

Locate the package:

# locate rpm-libs-4.4.2-37.el5

Install the package:

# rpm -Uvh /full/path/to/[package_name]

Ex (for the rpm-libs-4.4.2-37.el5 package):

# rpm -Uvh /root/svn/mercury/src/i386/rpms/rpm-libs-4.4.2-37.el5

If you're still getting a dependency error, try using the --nodeps and/or --force options:

# rpm -Uvh /root/svn/mercury/src/i386/rpms/rpm-libs-4.4.2-37.el5 --nodeps

Version history
Revision #:
2 of 2
Last update:
‎06-10-2014 08:12 PM
Updated by:
Search Airheads
Showing results for 
Search instead for 
Did you mean: