javaubuntufinereader

Running FREngine on Linux VM machine


I have installed FREngine 12 version. The license was installed.

I have exported JDK variable and run the command:

echo "/opt/ABBYY/FREngine12/Bin" | sudo tee -a /etc/ld.so.conf; sudo ldconfig

But during initializing Engine this way:

Engine.InitializeEngine(
    engineConfig.getDllFolder(), engineConfig.getCustomerProjectId(),
    engineConfig.getLicensePath(), engineConfig.getLicensePassword(), "", "", false);

I receive an error:

Cannot load DLL /opt/ABBYY/FREngine12/Bin/libFREngine.so. Unknown error. Error code: 0x0

Please, be aware that this file exists.


Solution

  • Finally I found the solution. I had to install g++ compiler. Hope it will help someone.