Error "while loading shared libraries: libfml32.so: cannot open shared object file: No such file or directory" thrown while starting the TIBCO Adapter for Oracle Tuxedo in workstation mode

Error "while loading shared libraries: libfml32.so: cannot open shared object file: No such file or directory" thrown while starting the TIBCO Adapter for Oracle Tuxedo in workstation mode

book

Article ID: KB0073592

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Oracle Tuxedo 6.0.0, 6.1.0

Description

The below error usually happens while starting the TIBCO Adapter for Oracle Tuxedo on Linux Operating System.
=============================
error while loading shared libraries: libfml32.so: cannot open shared object file: No such file or directory
=============================

Issue/Introduction

Error "while loading shared libraries: libfml32.so: cannot open shared object file: No such file or directory" thrown while starting the TIBCO Adapter for Oracle Tuxedo in workstation mode

Environment

Product: TIBCO ActiveMatrix BusinessWorks Plug-in for Oracle Tuxedo Version: 6.0.0, 6.1.0 OS: Linux Operating Systems

Resolution

"libfml32.so" is a Tuxedo client library, which will be loaded by the Tuxedo adapter.
The above error usually happens because of the below reasons:

1 The Tuxedo client is not installed.
2 The Tuxedo adapter has pointed to an incorrect Tuxedo client path.

To resolve the issue:

1 Confirm the Tuxedo client is installed correctly.
2 Navigate to <adapter_home>/bin. Open adtuxedo_wrkstn.tra and edit "tibco.env.CUSTOM_LIB_PATH" and "tibco.env.TUXDIR" to point to the Tuxedo client path.
3 Navigate to <adapter_home>/bin. Open adtuxedo_wrkstn_env.sh and edit "TUXDIR" to point to the Tuxedo client path.

For instance, if the Tuxedo client 12.2.2.0.0 is installed under "/home/tibco/TUXEDO", edit the properties as below:

adtuxedo_wrkstn.tra:
tibco.env.CUSTOM_LIB_PATH /home/tibco/TUXEDO/tuxedo12.2.2.0.0/lib
tibco.env.TUXDIR /home/tibco/TUXEDO/tuxedo12.2.2.0.0

adtuxedo_wrkstn_env.sh:
TUXDIR=/home/tibco/TUXEDO/tuxedo12.2.2.0.0

4 After the above configurations, run the below commands under <adapter_home>/bin. If the Tuxedo adapter could load all the libraries correctly, the version information should be printed like below:

$ . ./adtuxedo_wrkstn_env.sh
Environment variables successfully set
$./adtuxedo_wrkstn -version
TIBCO Adapter for Tuxedo, 6.1.0.2
TIBCO Adapter SDK for C++, 5.8.0.20

5 If the version information is not printed, run "ldd adtuxedo_wrkstn" to see which library is missing.