Skip to content

Document details on how to install MQ client #86

Open
@david0

Description

@david0

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions