FS#26637 - [tesseract] Error while running tesseract

Attached to Project: Community Packages
Opened by Loïc (petit_lo) - Wednesday, 26 October 2011, 19:27 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 27 October 2011, 16:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version 1.9.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

I installed tesseract with:
# pacman -Sy tesseract

When I try to run "tesseract", i have the following error:

$ tesseract out.tif out -l fra
Tesseract Open Source OCR Engine v3.01 with Leptonica
Error in findTiffCompression: function not present
Error in pixReadStreamTiff: function not present
Error in pixReadStream: tiff: no pix returned
Error in pixRead: pix not read
Unsupported image type.

I try in other format such as png, jpg but I have still similar errors.

Here is my ldd command:
$ ldd /usr/bin/tesseract
linux-vdso.so.1 => (0x00007fff5a9ff000)
libtesseract.so.3 => /usr/lib/libtesseract.so.3 (0x00007f7097ed3000)
liblept.so.2 => /usr/lib/liblept.so.2 (0x00007f7097b4b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f7097840000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f709762a000)
libc.so.6 => /lib/libc.so.6 (0x00007f70972ca000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f70970b1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7096e94000)
libm.so.6 => /lib/libm.so.6 (0x00007f7096c12000)
/lib/ld-linux-x86-64.so.2 (0x00007f70983f5000)

I don't know if the problem comes from leptonica or tesseract

Best,
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 27 October 2011, 16:20 GMT
Reason for closing:  Fixed
Comment by Lukas Fleischer (lfleischer) - Thursday, 27 October 2011, 08:14 GMT
  • Field changed: Attached to Project (AUR web interface → Community Packages)
  • Field changed: Status (Unconfirmed → Assigned)
Please report bugs to the appropriate project.
Comment by Sergej Pupykin (sergej) - Thursday, 27 October 2011, 08:38 GMT
please try leptonica-1.68-2
Comment by Loïc (petit_lo) - Thursday, 27 October 2011, 15:54 GMT
Ok, now it works.
Many thanks!

Loading...