Hi Swapnil,
Most probably, the problem persists in the location of the liblept.so file.
In my system (CentOS 7), I had the same problem because the code was trying
to find *liblept.so* file, but I had *liblept.so.5.0.2.*
So, to solve it, I changed the following code inside the* "leptonica.py"*
*lept = ffi.dlopen(find_library('lept'))*
to:
*lept = ffi.dlopen(find_library('/usr/local/lib/liblept.so.5.0.2')) *(The
actual path of the lib.)
Regards,
Lakshay Saini
On Thursday, January 2, 2020 at 3:31:59 PM UTC+5:30, Swapnil Paithankar
wrote:
>
> Hi,
>
> I am getting an exception when I am trying to use tesseract with
> linux(CentOS version 7 (core)) as follows-
>
> System.DllNotFoundException: Failed to find library "liblept1753.so" for
> platform x64.
>
> I am having hard time solving this. Any help would be appreciated.
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/92d90cbc-0caa-49a7-a023-d788ed975218%40googlegroups.com.