I used tesseract in an ocr script on F24 last year. Worked well
Did a new install of F25, including a dnf install of tesseract, ( and
leptonica and leptonica-devel which are actually dependencies)
tesseract fails, calling for liblept.so.3
I did a dnf upgrade of all three, just to be sure, but
# tesseract
tesseract: error while loading shared libraries: liblept.so.3: cannot
open shared object file: No such file or directory
# cd /usr/lib64
# ls -al liblept*
lrwxrwxrwx 1 root root 16 Jan 3 06:08 liblept.so -> liblept.so.5.0.1
lrwxrwxrwx 1 root root 16 Jan 3 06:08 liblept.so.5 -> liblept.so.5.0.1
-rwxr-xr-x 1 root root 2552880 Jan 3 06:08 liblept.so.5.0.1
# ln -s liblept.so.5.0.1 liblept.so.3
# ls -al liblept*
lrwxrwxrwx 1 root root 16 Jan 3 06:08 liblept.so -> liblept.so.5.0.1
lrwxrwxrwx 1 root root 16 Jan 23 17:25 liblept.so.3 -> liblept.so.5.0.1
lrwxrwxrwx 1 root root 16 Jan 3 06:08 liblept.so.5 -> liblept.so.5.0.1
-rwxr-xr-x 1 root root 2552880 Jan 3 06:08 liblept.so.5.0.1
# tesseract
Segmentation fault (core dumped)
Creating a linked version of liblept.so.3 cause a seg fault!
Interestingly, I get the same 'missing liblept.so.3' error on f23, but
creating the linked version (against liblept.so.4.0.3 works.
tesseract is: 3.04.01-2.fc25
leptonica is: 1.74.1-1.fc25
(On the F23 laptop those are 3.02.02 and 1.72 respectively.
Anyone have any ideas on what/why this fails, and how to fix it?
Geoff
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx