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 » General IBM MQ Support » Problem with libstdc++.so.3

Post new topic  Reply to topic
 Problem with libstdc++.so.3 « View previous topic :: View next topic » 
Author Message
karen_moloney
PostPosted: Mon Dec 08, 2003 8:23 am    Post subject: Problem with libstdc++.so.3 Reply with quote

Newbie

Joined: 23 May 2003
Posts: 3

I am running Redhat 9, MQ5.3 and am having a problem with the impwrld example.
This seems to be a similar problem to one somebody has already asked about but there was no reply.

I try and build it as follows
g++ -o imqwrld imqwrld.cpp -fsigned-char -I/opt/mqm/inc -L/opt/mqm/lib/3.0.3 -Wl,-rpath/opt/mqm/lib/3.0.3 -limqb23gl -limqs23gl

but get the error: /usr/bin/ld: bad -rpath option
collect2: ld returned 1 exit status

If I remove the -W1, rpath options, I get a warning: libstdc++.so.3, needed by /opt/mqm/lib/3.0.3/libimqb23gl.so, not found (try using -rpath or -rpath-link).

Looking in my usr/lib directory, I didn't have a libstdc++.so.3 so firstly tried to use a symbolic link with libstdc++.so.5 but that then causes a crash when it tries to delete memory in the setStorage function of the ImqQueue destructor. I found a copy of libstdc++.so.3 on the redhat 7.2 updates page but that now warns about a conflict between so.3 and so.5.

Can anyone tell me what I am doing wrong?
Thanks in advance

Karen
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 » General IBM MQ Support » Problem with libstdc++.so.3
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.