FineReader Engine to throw "Error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory"

Symptoms

One of the following errors:

  • error while loading shared libraries: libFineObj.so: cannot open shared object file: No such file or directory
  • error while loading shared libraries: libFREngine.so: cannot open shared object file: No such file or directory
  • error while loading shared libraries: libAbbyyZlib.so: cannot open shared object file: No such file or directory

Cause

Usually these errors are thrown when the user tries to launch LicenseManager.Console, a regular application using FREngine.so, and LicensingService, respectively:

mceclip0.png

A wrong LD_LIBRARY_PATH environment variable's value is the reason.

Resolution

Set LD_LIBRARY_PATH to FineReader Engine's binaries folder:

root@f00892352583: export LD_LIBRARY_PATH=/opt/ABBYY/FREngine12/Bin

Note: If you are using LicensingService on a separate machine then you should set LD_LIBRARY_PATH to the path where the copied libraries, necessary for the Service's operation, reside. Check Installing in manual mode section of the FREngine12AdminGuide.pdf for more information.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.