After installing pymqi I get import error for pymqe.so undefined symbol: MQSUB

Asked by Robert

Hello.

I installed the pymqi as described on http://packages.python.org/pymqi/index.html#disclaimer.
After fixing the import error "ImportError: libmqic_r.so: cannot open shared object file: No such file or directory" by pointing the LD_LIBRARY_PATH to /opt/mqm/lib64 I got this error instead when trying to import pymqi:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/pymqi.py", line 104, in <module>
    import pymqe, CMQC, CMQCFC, CMQXC
ImportError: /usr/lib64/python2.6/site-packages/pymqe.so: undefined symbol: MQSUB

My environment is a VMWARE running RHEL5 2.6.18-308.13.1.el5

I suspect some library mixup but I cant be sure.

Thanks.
Robert.

Question information

Language:
English Edit question
Status:
Solved
For:
PyMQI Edit question
Assignee:
No assignee Edit question
Solved by:
Robert
Solved:
Last query:
Last reply:
Revision history for this message
Robert (robbinn) said :
#1

Update: I tested this on a newer system 2.6.32-220.17.1.el6.x86_64 and it works.
If no one is interested in a solution for this. It can be closed.

Revision history for this message
Dariusz Suchojad (dsuch) said :
#2

> Update: I tested this on a newer system 2.6.32-220.17.1.el6.x86_64 and it works.

Hmm.. Doesn't really seem something PyMQI would be a cause of but I'm
glad you got it working anyway!