ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » libstdc++.so.5 dep error while installing gsk7bas for MQv7

Post new topic  Reply to topic
 libstdc++.so.5 dep error while installing gsk7bas for MQv7 « View previous topic :: View next topic » 
Author Message
raj429
PostPosted: Thu Apr 26, 2012 11:00 am    Post subject: libstdc++.so.5 dep error while installing gsk7bas for MQv7 Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 26, 2012 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
raj429
PostPosted: Thu Apr 26, 2012 11:24 am    Post subject: Reply with quote

Acolyte

Joined: 04 Jul 2009
Posts: 53

I had learnt from googling that *compat-libstdc++-33-3.2.3-61.i386.rpm * provides libstdc++.so.5 libraries. so downloaded and tried to installed.
Please refer to below site..

http://rpm.pbone.net/index.php3/stat/4/idpl/13949363/dir/redhat_el_3/com/libstdc++-3.2.3-58.i386.rpm.html

the already installed version provides * libstdc++.so.6(GLIBCXX_3.4)*
I assume this is latest version. below link is for reference..

http://rpm.pbone.net/index.php3/stat/4/idpl/15966299/dir/scientific_linux_5/com/libstdc++-4.1.2-48.el5.i386.rpm.html
Back to top
View user's profile Send private message
raj429
PostPosted: Thu Apr 26, 2012 11:27 am    Post subject: Reply with quote

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
View user's profile Send private message
raj429
PostPosted: Fri Apr 27, 2012 9:56 am    Post subject: Reply with quote

Acolyte

Joined: 04 Jul 2009
Posts: 53

Any hint?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 27, 2012 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
raj429
PostPosted: Mon Apr 30, 2012 7:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » libstdc++.so.5 dep error while installing gsk7bas for MQv7
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.