Author |
Message
|
neocruz |
Posted: Mon Mar 26, 2007 9:22 am Post subject: Dependent module /usr/mqm/lib64/libmqm.a(libmqm.o) could not |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
Hey Guys,
I'm getting the following error when trying to run saveqmgr on an AIX system.
--------------------------------------
/usr/local/mqm $ ./saveqmgr.aix -m QM1 -f ./qm1.saveqmgr
exec(): 0509-036 Cannot load program ./saveqmgr.aix because of the following errors:
0509-150 Dependent module /usr/mqm/lib64/libmqm.a(libmqm.o) could not be loaded.
0509-103 The module has an invalid magic number.
-------------------------------------
More information:
LIBPATH=/usr/mqm/lib64:/usr/lib:/usr/local/lib
Thanks in advance. |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Mar 26, 2007 9:38 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
what version of MQ on AIX?
what version of saveqmgr are you trying to run? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
neocruz |
Posted: Mon Mar 26, 2007 10:58 am Post subject: |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
MQ V5.3 and the lastest saveqmgr. I just downloaded it this morning. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 26, 2007 12:29 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ v5.3 is not 64-bit enabled, you can't use the 64-bit libs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
neocruz |
Posted: Tue Mar 27, 2007 5:03 am Post subject: |
|
|
Acolyte
Joined: 13 Jun 2004 Posts: 54
|
I hate it when I do that. The version of MQ is 6.0 The rest of the environment is 5.3. Do you think that version of saveqmgr is 32-bit? |
|
Back to top |
|
 |
Michael Dag |
Posted: Tue Mar 27, 2007 5:32 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
I think for compatibility reasons saveqmgr is 32 bit, try setting your libpath to the 32 bit libs as for 6.0 on AIX the 64 bit libraries are the default. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Mar 27, 2007 7:03 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
New Saveqmgr will run on MQ V 5.3, thats not an issue
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 27, 2007 10:45 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
hummm...
Code: |
# Module Name: makefile.aix
# DESCRIPTIVE NAME WebSphere MQ Save Queue Manager Object
# Definitions using PCFs (ms03 supportpac)
#
# This Makefile makes the saveqmgr executables on aix (ms03)
#
# Set the suffix for the target files
EXESUF = aix
# CC defines the compiler.
CC = xlc
# LC defines the linker
LC = $(CC)
# MQM library directory
MQMLIB = /usr/lpp/mqm/lib
# set LIBS to list all the libraries ms03 should link with.
LIBS = -lm -lmqm
LIBC = -lm -lmqic |
[/b] _________________ -wayne |
|
Back to top |
|
 |
|