If you are building any software from source you should be familiar with you system and have knowledge about building process. What you wrote indicate your system have installed only runtime libraries and you are missing devel packages.
Zdenko so 1. 2. 2020 o 1:18 lundissimo <[email protected]> napĂsal(a): > Thank you for that link. I hadn't retrieved the file from the releases > section. I have now re-obtained and re-installed both leptonica and > tesseract. Because I found files lib{gif,jpeg,png,tiff,webp,openjp2}* in > system folder /usr/lib/x86_64-linux-gnu, I included that folder to the > linker. The steps followed are as follows: > wget https://github.com/DanBloomberg/leptonica/archive/1.79.0.zip > unzip 1.79.0.zip > cd leptonica-1.79.0/ > ./autogen.sh > ./configure "LDFLAGS=-L/usr/lib/x86_64-linux-gnu" > make > make install > cd .. > wget https://github.com/tesseract-ocr/tesseract/archive/4.1.1.tar.gz > zcat 4.1.1.tar.gz |tar xvf - > cd tesseract-4.1.1 > ./autogen.sh > ./configure "LDFLAGS=-L/usr/lib/x86_64-linux-gnu" > make > make install > ldconfig > make training > make training-install > > I've attached the config.log files produced by both configure commands, in > case they contain any clues. > > After this new install, the 'tesseract -v' command outputs: > tesseract 4.1.1 > leptonica-1.79.0 > libpng 1.2.50 : zlib 1.2.8 > > And of course, it does not work. Testing on an image of a page of text: > tesseract 6305_6.jpg 6305_6 > Error in pixReadMemTiff: function not present > Error in pixReadMem: tiff: no pix returned > Error in pixaGenerateFontFromString: pix not made > Error in bmfCreate: font pixa not made > Tesseract Open Source OCR Engine v4.1.1 with Leptonica > Error in pixReadStreamJpeg: function not present > Error in pixReadStream: jpeg: no pix returned > Error in pixRead: pix not read > Error during processing. > There must be something missing in the system, or in the build options. > > -- > 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/1a053bdf-3fea-4bc1-be95-8c582bb57e3c%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/1a053bdf-3fea-4bc1-be95-8c582bb57e3c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJbzG8x4Tpn0TWc7CTVimsF8MqChVrG9%2BbGc7MPLmW%2BF1k9MTQ%40mail.gmail.com.

