Author |
Message
|
raj429 |
Posted: Thu Apr 26, 2012 11:00 am Post subject: libstdc++.so.5 dep error while installing gsk7bas for MQv7 |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
I have installed a MQ V7.01.3 trial version on my VMware box with RHEL 5 OS. I am able to install MQ packages but when trying to install gsk7bas throwing below error...
Quote: |
[root@localhost MQInstall]# rpm -ivh gsk7bas-7.0-4.27.i386.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by gsk7bas-7.0-4.27.i386
libstdc++.so.5(CXXABI_1.2) is needed by gsk7bas-7.0-4.27.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by gsk7bas-7.0-4.27.i386
|
output of Uname is
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux
When checked the rpm packages for libstdc++
Quote: |
[root@localhost MQInstall]# rpm -qa | grep libstdc
libstdc++-4.1.2-48.el5
libstdc++-devel-4.1.2-48.el5
|
I have downloaded "libstdc++-3.2.3-58.i386.rpm " but installation of this package failed because there is an updated version already available. i.e libstdc++-4.1.2-48.el5.
I can't uninstall libstdc++-4.1.2-48.el5 and install libstdc++-3.2* coz there is a dependency issue with other packages in linux.
Any hints on how should I proceed further. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Apr 26, 2012 11:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's telling you that you need a later version of libstdc than you have installed, why are you trying to install an earlier version? |
|
Back to top |
|
 |
raj429 |
Posted: Thu Apr 26, 2012 11:24 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
|
Back to top |
|
 |
raj429 |
Posted: Thu Apr 26, 2012 11:27 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
I have confirmed the above, when tried to uninstall the existing libraries..
Please see the snippet of command out..
Quote: |
[root@localhost raj]# rpm -ev libstdc++-4.1.2-48.el5
error: Failed dependencies:
libstdc++ = 4.1.2-48.el5 is needed by (installed) libstdc++-devel-4.1.2-48.el5.i386
libstdc++ = 4.1.2-48.el5 is needed by (installed) gcc-c++-4.1.2-48.el5.i386
libstdc++.so.6 is needed by (installed) libusb-0.1.12-5.1.i386
libstdc++.so.6 is needed by (installed) db4-4.3.29-10.el5.i386
libstdc++.so.6 is needed by (installed) libtiff-3.8.2-7.el5_3.4.i386
libstdc++.so.6 is needed by (installed) aspell-0.60.3-7.1.i386
libstdc++.so.6 is needed by (installed) festival-1.95-5.2.1.i386
libstdc++.so.6 is needed by (installed) groff-1.18.1.1-11.1.i386
libstdc++.so.6 is needed by (installed) pcre-6.6-2.el5_1.7.i386
|
I can't uninstall the latest libraries as it is having dependencies and can't install the older one as new version libraries already installed. |
|
Back to top |
|
 |
raj429 |
Posted: Fri Apr 27, 2012 9:56 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 27, 2012 10:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you both the 32 bit and the 64 bit version of those libraries installed?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
raj429 |
Posted: Mon Apr 30, 2012 7:02 am Post subject: |
|
|
Acolyte
Joined: 04 Jul 2009 Posts: 53
|
I think in my linux verson have only 32 bit mode
I found libstdc++ libraries installed in /usr/lib directory and there is not lib64 form of it.
Quote: |
bash-3.2$ pwd
/usr/lib
bash-3.2$ ls -l | grep libstdc++
lrwxrwxrwx 1 root root 18 Apr 19 15:51 libstdc++.so.6 -> libstdc++.so.6.0.8
-rwxr-xr-x 1 root root 936908 Dec 9 2009 libstdc++.so.6.0.8
|
I am running RHEL5 and uname output is below
Quote: |
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux
|
|
|
Back to top |
|
 |
|