'IBM MQ 9.2 c++ sample programs

I have installed IBM MQ on docker as well as the normal installation,you can see the descriptions of the installations in the screenshots. I am trying to run the sample C/C++ programs that came with the installation. However I am unable to run the application and connect to the queue manager after building the c++ program. I can't find IBM documentation about this. what am I missing?

output of rpm -qa | grep -i MQSeries.

MQSeriesMsg_hu-9.2.5-0.x86_64
MQSeriesMsg_Zh_TW-9.2.5-0.x86_64
MQSeriesJava-9.2.5-0.x86_64
MQSeriesMsg_de-9.2.5-0.x86_64
MQSeriesMsg_pt-9.2.5-0.x86_64
MQSeriesClient-9.2.5-0.x86_64
MQSeriesSFBridge-9.2.5-0.x86_64
MQSeriesMsg_es-9.2.5-0.x86_64
MQSeriesMsg_ja-9.2.5-0.x86_64
MQSeriesMsg_ru-9.2.5-0.x86_64
MQSeriesSDK-9.2.5-0.x86_64
MQSeriesGSKit-9.2.5-0.x86_64
MQSeriesMan-9.2.5-0.x86_64
MQSeriesMsg_fr-9.2.5-0.x86_64
MQSeriesMsg_ko-9.2.5-0.x86_64
MQSeriesMsg_Zh_CN-9.2.5-0.x86_64
MQSeriesJRE-9.2.5-0.x86_64
MQSeriesMsg_cs-9.2.5-0.x86_64
MQSeriesMsg_pl-9.2.5-0.x86_64
MQSeriesBCBridge-9.2.5-0.x86_64
MQSeriesMsg_it-9.2.5-0.x86_64
MQSeriesSamples-9.2.5-0.x86_64
MQSeriesRuntime-9.2.5-0.x86_64

enter image description here Docker: enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source