Linking libraries

 


You must link with the WebSphere MQ libraries that are appropriate for your application type: if you want to run multi-threaded applications, you must link with a multi-threaded version of the WebSphere MQ libraries.

Program type Single-threaded library files Multi-threaded library files
Server for C libmqm.so
libmqm_r.so
Client for C libmqic.so
libmqic_r.so
Server for C++ libmqb23gl.so,
libmqs23gl.so
libmqb23gl_r.so,
libmqs23gl_r.so
Client for C++ libmqb23gl.so,
libmqc23gl.so
libmqb23gl_r.so,
libmqc23gl_r.so

Note:
If you are writing an installable service (as described in WebSphere MQ System Administration Guide) link to the libmqmzf_r.so library.

The C++ Libraries provided for use with WebSphere MQ for Linux are designed to be used with the GNU v3 C++ compiler. If you wish to use a different version of the compiler this may not be compatible with the libraries provided by WebSphere MQ. Different versions of the C++ libraries for use with other versions of the GNU C++ compiler are available as a SupportPac.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.