Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

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

Jun 10, 2014 11:11 PM

Problem
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:
librpm-4.4.so: cannot open shared object file: No such file or directory
error: Failed dependencies:
libacl.so.1 is needed by vim-enhanced-7.0.109-3.el5.3.i386 
.
.


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

# rpm -q --whatprovides [LIBRARY]

Example:

# rpm -q --whatprovides librpm-4.4.so
rpm-libs-4.4.2-37.el5


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

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.