On newer Linux systems, the libXm.so.2 Motif libraries are not always installed resulting in the inability to run the precompiled Linux qmon binary.
To correct this problem, use the following steps.
Check if the libraries are already present by using this command.
% ls -l /usr/X11R6/lib/libXm*
If the /usr/X11R6/lib/libXm.so.2 points to a libXm.so.2.x version you are done. Note that a symbolic link to /usr/X11R6/lib/libXm.so.3 does not work.
If the libraries are not present then continue following these steps.
Download the corresponding openmotif libraries from http://www.ist.co.uk/DOWNLOADS/motif_download.html or from the SUSE 9.1 distribution (there is an additional rpm file called openmotif21-* available).
Install the missing libraries as root. For Suse 9.1, you install the openmotif21-* package like any other package. For packages downloaded from For packages downloaded from http://www.ist.co.uk, install the libraries as in the following example.
# rpm -i --prefix /tmp/test --force \ openmotif-2.1.31-2_IST-JDS2003.i386.rpm # cd /tmp/test/OpenMotif-2.1.31/lib # cp libXm.so.2.1 /usr/X11R6/lib # cd /usr/X11R6/lib # ln -s libXm.so.2.1 libXm.so.2
% ldd `which qmon`