Why does the TIBCO Adapter (TM) for SAP R/3 throw the "Bad magic number for shared library" error on start up? How can it be resolved?

Why does the TIBCO Adapter (TM) for SAP R/3 throw the "Bad magic number for shared library" error on start up? How can it be resolved?

book

Article ID: KB0092360

calendar_today

Updated On: 01-14-2017

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

Resolution:
The adapter would throw a "Bad magic number for shared library" when the bit size of the library accessed by the adapter does not match the bit size of the adapter.

The Non unicode Adapter is a 32 bit application on Windows, Solaris, HP UX, Linux and AIX platforms. It’s 64 bit only in HP Itanium.

If the Non Unicode Adapter is used, Please make sure that the libraries, including the SAP libraries, being accessed by the adapter at runtime are 32 bit. On UNIX, this can be confirmed by running the ldd command on the adapter exe after setting the environment.

The Unicode Adapter is a 64 bit application on all platforms except Windows and Linux. Thus, if you are using the Unicode Adapter, please make sure that the libraries, including the SAP libraries, being accessed by the adapter at runtime are 64 bit. On UNIX, this can be confirmed by running the ldd command on the adapter exe after setting the environment.

Issue/Introduction

Why does the TIBCO Adapter (TM) for SAP R/3 throw the "Bad magic number for shared library" error on start up? How can it be resolved?