On the Debian server, after specifying the LFLAGS to 'configure', I realized I had previously built the leptonica library used, so I went back and rebuilt leptonica as well with ./configure "LDFLAGS=-L/usr/lib/x86_64-linux-gnu" and then rebuilt tesseract. Now the 'tesseract -v' command outputs the same, but also include libpng in the list.
Does anyone know how to get the required libs included when building tesseract? On Wednesday, January 29, 2020 at 11:38:20 PM UTC-5, lundissimo wrote: > > I've downloaded the tesseract 4.0 Git repository on a system running > Debian linux. I've run autogen.sh and configure, then make and 'make > install'. After successfully installing tesseract on a Mac using Homebrew, > the 'tesseract -v' command produces: > tesseract 4.1.1 > leptonica-1.79.0 > libgif 5.2.1 : libjpeg 9c : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 > : libwebp 1.1.0 : libopenjp2 2.3.1 > Found AVX2 > Found AVX > Found FMA > Found SSE > However, although no errors are displayed, the resulting tesseract on > Debian after 'make install' outputs just: > tesseract 4.0.1 > leptonica-1.80.0 > zlib 1.2.8 > I found the various libxxx files mentioned in the Mac output above in the > directory /usr/lib/x86_64-linux-gnu, so I provided it as an option to > configure: > ./configure "LDFLAGS=-L/usr/lib/x86_64-linux-gnu" > to no effect. > > Can anyone tell me how to get tesseract to compile with the required > libraries? > -- 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/fb4c0d52-98a5-4fbc-9d42-cbfc036a1113%40googlegroups.com.

