Running FREngine on Linux VM machine

134 views Asked by At

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.

2

There are 2 answers

0
Uladzislau Kaminski On BEST ANSWER

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

2
BeyondPerception On

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