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 running Q program (MA01)

Post new topic  Reply to topic
 Problem running Q program (MA01) « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Tue Feb 10, 2009 6:25 am    Post subject: Problem running Q program (MA01) Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I tried to run Q program (supportpac MA01) on AIX MQV6. I logon as mqm . I go the error

Could not load program ./q:
Dependent module libmqm.a(libmqm.o) could not be loaded.
Could not load module libmqm.a(libmqm.o).
System error: No such file or directory

I checked that libmqm.a is in /usr/mqm/bin. I logon as mqm and I can also run amqsput with no problem.

I am not an AIX admin person. ANy idea where I should start looking?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 10, 2009 6:31 am    Post subject: Re: Problem running Q program (MA01) Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

KIT_INC wrote:
I am not an AIX admin person. ANy idea where I should start looking?


Depends. Coffee machine probably; most admins go there.

Seriously, if you can't find an AIX admin, check the PATH and the permissions first off.

IIRC the sample code is statically linked with the relevant lib so wouldn't suffer with this problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Wed Feb 11, 2009 10:30 am    Post subject: Re: Problem running Q program (MA01) Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

KIT_INC wrote:
I tried to run Q program (supportpac MA01) on AIX MQV6. I logon as mqm . I go the error

Could not load program ./q:
Dependent module libmqm.a(libmqm.o) could not be loaded.
Could not load module libmqm.a(libmqm.o).
System error: No such file or directory

I checked that libmqm.a is in /usr/mqm/bin. I logon as mqm and I can also run amqsput with no problem.

I am not an AIX admin person. ANy idea where I should start looking?


It should definitely not be in /usr/mqm/bin.

Provide the output of PATH (ie. echo $PATH). It should pickup libmqm.a from /usr/lib which should be a symlink to /usr/mqm/lib.

$ whereis libmqm.a
libmqm: /usr/lib/libmqm.a
$ ls -la /usr/lib/libmqm.a
lrwxrwxrwx 1 mqm mqm 21 May 15 2008 /usr/lib/libmqm.a -> /usr/mqm/lib/libmqm.a
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 running Q program (MA01)
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.