Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document details on how to install MQ client #86

Open
david0 opened this issue Jul 11, 2022 · 2 comments
Open

Document details on how to install MQ client #86

david0 opened this issue Jul 11, 2022 · 2 comments

Comments

@david0
Copy link

david0 commented Jul 11, 2022

Hi,

I tried to use pymqi to connect to a MQ and lost a lot of time figuring out how to install the required MQ client.

Maybe this should be documented better/a link to that should be provided?!

Anyway, here is what I am using now:

FROM python:3

# only /opt/mqm will work.
RUN mkdir -p /opt/mqm 
RUN curl 'https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist/9.3.0.0-IBM-MQC-Redist-LinuxX64.tar.gz' -o - | tar xz  -C /opt/mqm
# fixes pymqi loading 32bit libraries
ENV LD_LIBRARY_PATH=/opt/mqm/lib64:$LD_LIBRARY_PATH  
RUN pip3 install pymqi==1.12.8

The best solution would obviously be to bundle the client with pymqi (same applies for nodejs, ruby etc).

@chughts
Copy link
Collaborator

chughts commented Jul 11, 2022

I think this is a question for pymqi - https://github.com/dsuch/pymqi

@chughts chughts closed this as completed Jul 11, 2022
@chughts chughts reopened this Jul 11, 2022
@david0
Copy link
Author

david0 commented Jul 11, 2022

Maybe, unfortunately this project does not have a public bug tracker. The easiest (at least for me) would be if IBM-MQC-Redist would be bundled with pymqi.

Until then, I think IBM should provide at least a few lines of documentation somewhere on how to install the MQ client...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants