Pega OCR Component
We tried to configure OCR component in our application to extract text .We installed abbyfinereader engine and also imported the Pega OCR component and updated the data transform as suggested in the below article.
https://community.pega.com/knowledgebase/installing-pega-ocr-component
We had given the necessary permissions as well in our linux server for the abby folder installed under /opt . The owner to whom we have granted access is the admin user with which we installed linux platform . But we are facing issue while calling pyOCRTextExtractor activity with error saying cant load library java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Can't load library: /opt/ABBYY/FREngine12/Bin/libFREngine.Jni.so. Can you please suggest what could be the issue ?
***Edited by Moderator: Lochan to update platform capability tags***
How was the ABBYY installed?
Are you running the shell-scripts as root/admin?,
Are you exporting the environment-variables as root/admin?
You have mentioned that you granted rights to the user with which you’ve installed linux platform. Is it the same user in which context application server (e.g. tomcat) with Pega platform runs?
We suggest to export environment variables for this user (details you may find in the section “updating LD SO config path manually” within installation instruction).
Verify the installation step:
https://community.pega.com/knowledgebase/installing-pega-ocr-component#03_instabbyy
3. Run the following script as root in one of the following two ways……..
“Note: When you run the abbyy_installation.sh script with the optional -u or -i parameters, the script modifies the system configuration…..”
When not follow the instruction For more information, see Updating LD SO config path manually in https://community.pega.com/knowledgebase/installing-pega-ocr-component#07_updateldso
Updating LD SO config path manually
How was the ABBYY installed?
Are you running the shell-scripts as root/admin?,
Are you exporting the environment-variables as root/admin?
You have mentioned that you granted rights to the user with which you’ve installed linux platform. Is it the same user in which context application server (e.g. tomcat) with Pega platform runs?
We suggest to export environment variables for this user (details you may find in the section “updating LD SO config path manually” within installation instruction).
Verify the installation step:
https://community.pega.com/knowledgebase/installing-pega-ocr-component#03_instabbyy
3. Run the following script as root in one of the following two ways……..
“Note: When you run the abbyy_installation.sh script with the optional -u or -i parameters, the script modifies the system configuration…..”
When not follow the instruction For more information, see Updating LD SO config path manually in https://community.pega.com/knowledgebase/installing-pega-ocr-component#07_updateldso
Updating LD SO config path manually
….
When this will not help provide a detailed description how the ABBYY was installed.