One of the pre-reqs that if needed by MQ7 (or more specifically gsk7bas) is that it needs – libstdc++.so.5.
If you try and find this package its often not available. To install it run the following commands
yum groupinstall “Compatibility libraries” yum install libstdc++.so.5
If you want to install MQ 184.108.40.206 you will also need