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

  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 TXSeries Encina, or BEA Tuxedo, we need to link to the libmqmxa.so (or libmqmxa64.so if your transaction manager treats the 'long' type as 64-bit) and libmqz.so libraries.

  3. You must link WebSphere MQ libraries before any other product libraries.

 

Parent topic:

Preparing C programs


fg16590_