On Solaris SPARC 64-bit, Hawk HMA fails with the error, "Failed to load shared library, library name : libtibhawkhma.so", this may be caused by LD_LIBRARY_PATH_64 setting.

On Solaris SPARC 64-bit, Hawk HMA fails with the error, "Failed to load shared library, library name : libtibhawkhma.so", this may be caused by LD_LIBRARY_PATH_64 setting.

book

Article ID: KB0093462

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Description:
On Solaris 10 SPARC 64-bit, Hawk HMA fails with the error, "Failed to load shared library, library name : libtibhawkhma.so", this may be caused by LD_LIBRARY_PATH_64 setting.

Symptoms:
When running starthma script, error was found:

Failed to load shared library, library name : libtibhawkhma.so

Cause:
Check whether LD_LIBRARY_PATH_64 is correctly defined in the environment variable setup. Otherwise, correct its definition. Note that even if LD_LIBRARY_PATH is defined correctly, but LD_LIBRARY_PATH_64 is not, the above issue still occur.
# A new environment variable, LD_LIBRARY_PATH_64 is provided in Solaris 7/8/9/10 and is similar to LD_LIBRARY_PATH, but overrides it when during linking when searching for 64-bit dependencies.
    * On 32-bit SPARC processor,  LD_LIBRARY_PATH_64 is ignored.

    * If only LD_LIBRARY_PATH is defined, it is used for both 32-bit and 64-bit linking. 

    * If both LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 are defined, 32-bit linking will be done using LD_LIBRARY_PATH, and 64-bit linking with LD_LIBRARY_PATH_64.

Issue/Introduction

On Solaris SPARC 64-bit, Hawk HMA fails with the error, "Failed to load shared library, library name : libtibhawkhma.so", this may be caused by LD_LIBRARY_PATH_64 setting.

Resolution

1). Make sure you have finished post installation tasks for HMA first.

2. Add the folloiqng properties in the starthma script under /hawk//bin:


****
LD_LIBRARY_PATH_64=$HAWK_INSTALL/ami_api/lib:$HAWK_INSTALL/lib:$RV_ROOT/lib:$AS_ROOT/lib:$LD_LIBRARY_PATH_64
export LD_LIBRARY_PATH_64
****

Additional Information

http://docs.oracle.com/cd/E19455-01/806-0477/dev-env-7/index.html