On 01/24/17 06:43, R. G. Newbury wrote: > 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? > I have a new install of F25 in a VM (KDE). I did not have to install tesseract as it was already installed. It does not fail calling for liblept.so.3 The output for "ldd /usr/bin/tesseract" shows... liblept.so.5 => /lib64/liblept.so.5 (0x00007f49e022b000) And.... [egreshko@f25f ~]$ rpm -q leptonica leptonica-1.74.1-1.fc25.x86_64 Supplies that library. -- Fedora Users List - The place to go to get others to do the work for you _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx