1

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.

Ishaan Javali
  • 1,711
  • 3
  • 13
  • 23
Uladzislau Kaminski
  • 2,113
  • 2
  • 14
  • 33

2 Answers2

1

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

Uladzislau Kaminski
  • 2,113
  • 2
  • 14
  • 33
0

You're running the commands as sudo, but my guess is that are you not exporting the environment variables as sudo

BeyondPerception
  • 534
  • 1
  • 6
  • 10