Linking libraries

You must link with the WebSphere MQ libraries that are appropriate for your application type:

Program/exit type
Library files
Server for C
libmqm.so
Client for C
libmqic.so

Notes:
  1. If you are writing an installable service (see the WebSphere MQ System Administration Guide for further information), link to the libmqmzf.so library.
  2. If you are producing an application for external coordination by an XA-compliant transaction manager such as IBM(R) TXSeries(R) Encina(R), or BEA Tuxedo, you need to link to the libmqmxa.so and libmqz.so libraries.
  3. You must link WebSphere MQ libraries before any other product libraries.