Linking C applications with the IBM MQ MQI client code
Having written the IBM MQ application that we want to run on the IBM MQ MQI client, we must link it to the IBM MQ MQI client code.
We can link the application to the IBM MQ MQI client code in two ways:- Directly, by connecting the application to a queue manager, in which case the queue manager must be on the same machine as the 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.
Parent topic: Building applications for IBM MQ MQI clients