Support Article
UnsatisfiedLinkError on extracting text using OCR component
SA-78068
Summary
UnsatisfiedLinkError when extracting text using the optical character recognition (OCR) component.
Error Messages
[gine-single-thread-0] [ ] [ ] [ ] (or.Data_AbbyyFineReader.Action) INFO - Going to execute job: com.pegarules.generated.activity.ra_action_abbyytextextractor_9aae03e67f132ed99b7c835f34349851$1@44d14310 using thread: ABBYY-engine-single-thread-0 (id: 10958) ... 2019-04-15 08:46:35,571 [gine-single-thread-0] [ ] [ ] [ ] (or.Data_AbbyyFineReader.Action) INFO - Finished job execution 2019-04-15 08:46:35,571 [se-nio2-9443-exec-16] [ STANDARD] [ ] [ IWellcare:01.01.01] (or.Data_AbbyyFineReader.Action) INFO infosys1.pegalabs.io|127.0.0.1 sarath - java.lang.UnsatisfiedLinkError: Can't load library: /opt/ABBYY/FREngine12/Bin/libFREngine.Jni.so
[se-nio2-9443-exec-16] [ STANDARD] [ ] [ IWellcare:01.01.01] (or.Data_AbbyyFineReader.Action) INFO infosys1.pegalabs.io|127.0.0.1 sarath - Returning control to invoker
[se-nio2-9443-exec-16] [ STANDARD] [ ] [ IWellcare:01.01.01] (or.Data_AbbyyFineReader.Action) ERROR infosys1.pegalabs.io|127.0.0.1 sarath - Something went wrong during text OCR: java.lang.UnsatisfiedLinkError: Can't load library: /opt/ABBYY/FREngine12/Bin/libFREngine.Jni.so
Steps to Reproduce
- Install the OCR component
- Configure External Vulnerability Assessment (EVA), and enable read attachments
- Run the flow
Root Cause
The FREngine.Jni.so library was not available.Resolution
Perform the following local-change:
Download the respective library and add it to the path.
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.