Why does the TIBCO Adapter (TM) for MQSeries sometimes starts up witha 'symbol not found' error when used with a Custom Conversion mechanism?

Why does the TIBCO Adapter (TM) for MQSeries sometimes starts up witha 'symbol not found' error when used with a Custom Conversion mechanism?

book

Article ID: KB0086594

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ -
Not Applicable -

Description

Resolution:
At times the TIBCO Adapter for MQ series starts up with errors like:

Adapter aborted: Code = , Category = , Severity = , Description = Unable to load shared lib: libMQAdapterS.so. ld.so.1: admqs: fatal: reloca
tion error: file /opt/tibco/adapter/admqs/5.2/lib/libMQAdapterS.so: symbol __1cMconvertRV2MQdD6FIpkcpnK__tibrvMsg_1rnGImqMsg_rnGImqPmo_ppcri
_i_: referenced symbol not found, File = Unknown file, line = 0

This error happens whenever an incompatible compiler/linker is used to build the custom conversion library. For instance the adapter works fine with CC compiler on Solaris, but if the custom conversion library is compiled with GNU C++ compiler, this kind of symbol errors will occur.

The list of supported compilers is provided in the makefile shipped with the adapter.

Issue/Introduction

Why does the TIBCO Adapter (TM) for MQSeries sometimes starts up witha 'symbol not found' error when used with a Custom Conversion mechanism?