Failed to start TIBCO BusinessEvents (BE) agents on RedHat 8.x (RHEL 8.x) - error loading libndl.so.1)

Failed to start TIBCO BusinessEvents (BE) agents on RedHat 8.x (RHEL 8.x) - error loading libndl.so.1)

book

Article ID: KB0076107

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.6.x

Description

The following error is reported when we try to start a BE agent on RHEL 8.x platforms.

$BE_HOME/bin/be-engine --propFile $BE_HOME/bin/be-engine.tra -c default.cdd -u default testproject.ear
<path>/be-engine: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

Note:
ldd command on be-engine binary returns missing libnsl.so.1

ldd $BE_HOME/bin/be-engine
    linux-vdso.so.1 (0x00007ffe05be2000)
    libnsl.so.1 => not found
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ebc151000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ebbf31000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f5ebbb9c000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f5ebb81a000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5ebb602000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f5ebb23f000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f5ebc355000)
    

Issue/Introduction

Failed to start TIBCO BusinessEvents (BE) agents on RedHat 8.x (RHEL 8.x) - error loading libndl.so.1)

Environment

RedHat 8.x

Resolution

The TIBCO wrappers (be-engine,be-rms) shipped with BE 5.6.1 require shared library "libnsl.so.1". The libnsl.so.1 library is no longer installed as part of the RHEL 8.x installation.
It is required to install library package "libnsl" separately to avoid the error.

Command:
sudo dnf install libnsl*

Note:
CR BE-27706 created to address this issue.

Additional Information

libnsl, RHEL 8