John Bradley hinted me to use "ldd xjjm" to find out
what libraries are being used, and sure enough it was looking for
libXm.so.3 in /usr/lib and it was not there. Since I am running CDE
i had to link it to /usr/dt/lib/ to get it working.
Thanks to all who pointed me in the right direction.
John Bradley
Sean Ward
David Kleiner
Timothy P. Henrion
Casper Dik
regards
Prabhakar