Magic numbers looks like the 32 bit vs 64 bit binaries problem indeed. It seems your LIBPATH sees first the 32 bit library, but the IBM-binaries are built with 64 bit libraries. If you only use 64 bit ...
We've got the same problem. I use a workaround to start the mq binaries, without changing a lot in the environment. You can create aliases in your profile, and put an env-command before s ...