Reputation: 1079
We upgraded MQ to V7 from V6. after the we are facing this error on executing mq commands.
retrieving local queue manager Could not load program dspmq: Dependent module /usr/lib/libmqmcs_r.a(shr.o) could not be loaded. The module has an invalid magic number.
Referring to IBM site,
http://www-01.ibm.com/support/docview.wss?uid=swg21233269
By no where i specify LIBPATH to /usr/mqm/lib in my AIX machine. But on setting the LIBPATH to "" this issue is resolved.
Could you help me to understand how LIBPATH is set for using MQ Libraries ? Will it be set during installation?
Upvotes: 1
Views: 1635
Reputation: 15263
You have not mentioned what release of MQ v7 you migrated to. MQ v7.1 installation does not create any symbolic links under /usr directory. This is because from v7.1, MQ started supporting multi version installations. One has to use SETMQENV command setup MQ environment.
Please follow this link.
Edit: My suspicion is that LIBPATH might have been pointing to some incorrect mq libraries.
Upvotes: 1