Failed dependencies:libstdc++.so.6 is needed by hp-snmp-agents-8.1.1
Hi All,
I'm new to Linux world and really sorry if asking silly question. Appear to be common errors as seen on net but unsure about its solution.
As part of PSP - HP snmp agents installation, it is getting failed during dependency check for library libstdc++.so.6. I have done below steps but all in vain.
===============================================================
root@lxbwyaflmobstg1:/home/wipro# uname -a
Linux lxbwyaflmobstg1 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
root@lxbwyaflmobstg1:/tmp/in# rpm -Uvh hp-snmp-agents-8.1.1-22.rhel4.x86_64.rpm
error: Failed dependencies:
libstdc++.so.6 is needed by hp-snmp-agents-8.1.1-22.rhel4.x86_64
libstdc++.so.6(CXXABI_1.3) is needed by hp-snmp-agents-8.1.1-22.rhel4.x86_64
libstdc++.so.6(GLIBCXX_3.4) is needed by hp-snmp-agents-8.1.1-22.rhel4.x86_64
root@lxbwyaflmobstg1:/tmp/in#
================================================================
1. This library is present under /usr/lib64 so unsure why it is not getting picking up. Tried adding this library to $LD_LIBRARY_PATH but no luck.
========================================================================
root@lxbwyaflmobstg1:/home/wipro# ls -latr /usr/lib64/libstdc++.so.6
lrwxrwxrwx 1 root root 18 Nov 12 13:14 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.3
========================================================================
2. Tried upgrading gcc package and getting "IndexError: list index out of range"
===================================
root@lxbwyaflmobstg1:/home/wipro/PSP/PSP/compaq/csp/linux# yum install glibc.x86_64
Setting up Install Process
-------
-
-
--> Processing Dependency: glibc-common = 2.3.4-2.39 for package: glibc
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 138, in main
(result, resultmsgs) = base.buildTransaction()
File "__init__.py", line 401, in buildTransaction
File "depsolve.py", line 226, in resolveDeps
File "depsolve.py", line 357, in _processReq
File "depsolve.py", line 418, in _requiringFromInstalled
File "__init__.py", line 1479, in getInstalledPackageObject
IndexError: list index out of range
=======================================================================
Would really appreciate if someone could help me on this please.
Thanks
Last edited by sbalvir; 11-12-2008 at 10:47 PM.
Reason: This problem got sorted out by executing "yum install libstdc".
|