After some testing I found that some symbols in the api/Makefile did not contain the expected contents:
root@d:/opt/tesseract-3.05.01/api# make testlept testlept libtesseract_la_LDFLAGS: -L/usr/local/lib -llept -version-info 3:5 -no-undefined libtesseract_la_LINK: /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -std=c++11 -L/usr/local/lib -llept -version-info 3:5 -no-undefined -o testlept libtesseract.la: root@d:/opt/tesseract-3.05.01/api# libtesseract.la is empty. I'm not an expert in Makefile construction, so I don't know whether this is OK. Nevertheless I've added the libraries found in the libtesseract.la file to the command line arguments of tesseract$(EXEEXT): recipe. After that, I could build tesseract. But I could not execute it, since it could not open its shared object file: root@d:/usr/local/lib/pkgconfig# tesseract tesseract: error while loading shared libraries: libtesseract.so.3: cannot open shared object file: No such file or directory At that point I remembered that it might be necessary to run ldconfig. And after doing so: root@d:/usr/local/lib/pkgconfig# ldconfig I could start tesseract. It might be, that execution of ldconfig after building leptonica was all that had been necessary. -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/42d83607-b462-4da7-8e79-6bfe15cfb953%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

