Hi Łukasz, > Is it possible to run tesseract without setting up > LD_LIBRARY_PATH?
Why don't you want to just use LD_LIBRARY_PATH? I suspect, to be honest, that it would be difficult to compile the leptonica library into the tesseract executable. It would be fun and interesting (to me) to try to produce a statically linked tesseract binary, but probably not easy. Seriously, I reckon you'd be much better off spending your time dumping a leptonica install directory somewhere under /home and setting LD_LIBRARY_PATH appropriately. I can't imagine a situation where that wouldn't be reasonable, but maybe I am missing something? > Maybe there is some way to add some parameter to let tesseract > know where leptonica is located in execution phase? Ah, rereading this part, is it just that you are executing it in a way that setting environment variables is tricky / forbidden? My first thought in such a case would be a one-liner shell script that executes tesseract for you. Any reason that wouldn't work either? Nick -- 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/20160121132929.GA25794%40manta.lan. For more options, visit https://groups.google.com/d/optout.

