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 API Support » CC Client compile issues

Post new topic  Reply to topic
 CC Client compile issues « View previous topic :: View next topic » 
Author Message
kd
PostPosted: Mon Sep 08, 2008 2:31 am    Post subject: CC Client compile issues Reply with quote

Novice

Joined: 10 Aug 2006
Posts: 19

Hi Guys...

Hope ure all well...

I'm trying to build a C++ program on an MQ Server environment.

Options are as follows (main query is the item at the end - lmqcrt):

CC -DDBUS_SOLARIS_CC60 -mt -o bin/alertmsngr messenger/am_main.o messenger/am_msgs.o util/laj.o util/mgo.o util/config.o omgeo_msgs/msg31.o omgeo_msgs/msg33.o omgeo_msgs/msg36.o omgeo_msgs/msg3B.o omgeo_msgs/msg48.o omgeo_msgs/msg5D.o omgeo_msgs/msg97.o omgeo_msgs/msgA1.o -L/export/home/mercator/src/alert/external/dbus_3_0_8_14/SPARC_5.8/6.0/lib -L/export/home/mercator/src/alert/external/dbus_3_0_8_14/vitria.3.1/SPARC_5.8/6.0/lib -lpthread -ldbUtils -ldbError -ldbCore -ldbus -L/export/home/mercator/src/xerces-c-src_2_5_0/lib -L/export/home/mercator/src/icu/source/lib -L/export/home/mercator/src/alert/external/AlertDirect/direct/lib -L/export/home/mercator/src/alert/external/AlertDirect/tuxedo/lib -L/export/home/mercator/src/alert/mq/lib -lxerces-c -licuuc -licudata -lgen -lcobatmi -ltrpc -lintl -ldci -lcclp -lwsc -lbuft -lgpnet -lnwi -lnws -lfml -lfml32 -lgp -lnsl -lsocket -lposix4 -lmqcrt

and I get the following error:

ld: fatal: library -lmqcrt: not found

Which is because I can't find it either.. I'm wondering whether I need it for client builds and whether I still need to include -lmqm also.


The mqm pkginfo is:

application mqm WebSphere MQ for Sun Solaris
application mqm-upd05 MQSeries for Sun Solaris 2 - U481514



I'm planning on running the code on a similar server (Solaris 8, MQ5.3.. yeah I know its old which has a client install:

/opt $ pkginfo | grep mqm
application mqm WebSphere MQ Client for Sun Solaris

Previously, when I just used the -lmqm option, the code built BUT I couldn't connect (using CONNX) to the client connection (2058 error) although the connect string seems fine. I can telnet to it ok though.


Arrgggghhh!!! Any thoughts?


Many thanks!!!!!

KD
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Sep 08, 2008 11:31 am    Post subject: Re: CC Client compile issues Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

kd wrote:
ld: fatal: library -lmqcrt: not found
???

Look up in the WMQ Appl. Pgm Guide (chapter 24) for the correct MQ client modules to be linked to your application.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
kd
PostPosted: Tue Sep 09, 2008 4:47 am    Post subject: Reply with quote

Novice

Joined: 10 Aug 2006
Posts: 19

I was expecting an RTFM response, but in this case it was correct - I just needed a pointer. Thanks for your help it works now...
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 API Support » CC Client compile issues
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.