# Installing IBM MQ Extension on Linux (Errors)

**URL:** <https://community.dynatrace.com/t/installing-ibm-mq-extension-on-linux-errors/36988>\
**Category:** Extensions\
**Tags:** linux, oneagent, extensions, ibm-mq\
**Created:** [October 20, 2022, 7:33pm UTC](https://community.dynatrace.com/t/installing-ibm-mq-extension-on-linux-errors/36988 "2022-10-20T19:33:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shakib](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@shakib](https://community.dynatrace.com/u/shakib)\
**Post date:** [October 20, 2022, 7:33pm UTC](https://community.dynatrace.com/t/installing-ibm-mq-extension-on-linux-errors/36988/1 "2022-10-20T19:33:17Z")

</div>

I’m wondering if anyone else has run into this. So I’m following the directions for installing the IBM MQ OneAgent extension ([Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/technology-support/dynatrace-extensions/dynatrace-extension-required/ibm-mq-extensions#oneagent)).

I had no issues with this install on a Widows server as I am getting MQ statistics.

But I keep getting the following error when I try to set it up on Linux (same issue on 2 different Linux servers).

“Error (No module named ‘pymqe’) for: ServerName”.

I have a ticket open with Dynatrace support and it’s been back and forth for 6 weeks and no resolution.

So I wanted to ask the community. Dynatrace support has advised me that the extension comes with all the required libraries and so I shouldn’t need to install additional Python (or otherwise) modules/libraries. And I didn’t have to do anything extra for this extension to work on my Windows server.

The thing is, that there are a bunch of pymqe\* files in the following directory, same as on the Windows server:&nbsp;&nbsp;  
\</opt/dynatrace/oneagent/plugin\_deployment/custom.python.ibmmq/pymqi\>.

On the non-working Linux server, I did add /usr/lib64 and /usr/local/lib to $LD\_LIBRARY\_PATH, and still the same issues.

---

_[View the full topic](https://community.dynatrace.com/t/installing-ibm-mq-extension-on-linux-errors/36988)._
