IBM Support

qna or xqna - reports error while loading shared libraries

Technote (troubleshooting)


Problem(Abstract)

An error occurs when launching qna or xqna from a non-windows system

Symptom

Launching qna or xqna from a non-windows system, getting the following error:
/opt/BESClient/bin/qna: error while loading shared libraries: libBEScrypto_1_0.so: cannot open shared object file: No such file or directory
or the following error:
/opt/BESClient/qna: error while loading shared libraries: libBEScrypto_1_0_0_1.so: cannot open shared object file: No such file or directory


Resolving the problem

The library search path must be augmented to include the path to the libBES* libraries.
On linux, you can: export LD_LIBRARY_PATH=/opt/BESClient/bin

Or you can also create a script that sets the library search path (LD_LIBRARY_PATH on linux), anyways in /usr/bin for launching qna that looks like:

#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/BESClient/bin
export BESClientConfigPath=/var/opt/BESClient/besclient.config
/opt/BESClient/bin/qna $1

This allows evaluation longer relevance queries from a text file since the buffer on the command line qna is relatively short.

Historical Number

716

Document information

More support for: IBM BigFix family

Software version: Version Independent

Operating system(s): AIX, Linux, Solaris, Windows

Reference #: 1506168

Modified date: 07 August 2014


Translate this page: