Linking C applications with the IBM MQ MQI client code
Having written your IBM® MQ application that you want to run on the IBM MQ MQI client, you must link it to the IBM MQ MQI client code.
You can link your application to the IBM MQ MQI client
code in two ways:
- Directly, by connecting your application to a queue manager, in which case the queue manager must be on the same machine as your application.
- To a client library file, which gives you access to queue managers on the same or on a different machine.
IBM MQ provides a client library file for each
environment:
AIX®- libmqic.a library for non-threaded applications, or libmqic_r.a library for threaded applications.
Linux®- libmqic.so library for non-threaded applications, or libmqic_r.so library for threaded applications.
IBM i- Bind client application with LIBMQIC client service program for non-threaded applications, or LIBMQIC_R service program for threaded applications.
Windows- MQIC32.LIB.