qna or xqna - reports error while loading shared libraries
An error occurs when launching qna or xqna from a non-windows system
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:
This allows evaluation longer relevance queries from a text file since the buffer on the command line qna is relatively short.