You work on linux? If yes:
In WebSphere MQ for Linux for Intel and Linux for zSeries, you must link your program to the MQI library files supplied for the environment in which you are running your application, in addition to those provided by the operating system.
In a non-threaded application:
libmqm.so Server for C
libmqic.so Client for C
libmqmzf.so Installable service exits for C
libmqmxa.so XA interface for C
libimqc23gl.so Client for C++
libimqs23gl.so Server for C++
In a threaded application:
libmqm_r.so Server for C
libmqic_r.so Client for C
libmqmzf_r.so Installable service exits for C
libmqmxa_r.so XA interface for C
libimqc23gl_r.so Client for C++
libimqs23gl_r.so Server for C++