Static building is a general topic and not tesseract specific. You need to consult documentation for your build chain. E.g. good startpoint is ./configure --help if you use autotools
Linux (so maybe also MAc) prefers to build only shared versions of libraries, so you need to re-build also all leptonica dependencies as static. Zdenko ut 8. 9. 2020 o 9:04 mit <kollolmit...@gmail.com> napísal(a): > > No..how have you built a static version of tesseract? Any link? > > Thanks > On Tuesday, September 8, 2020 at 12:27:01 PM UTC+5:30 Mobeen Ali wrote: > >> I tried using a static version of tesseract but i got this error now, >> >> pytesseract.pytesseract.TesseractError: (127, >> '/home/dpsocr/mysite/tesseract-static/bin/tesseract: symbol lookup error: >> /home/dpsocr/mysite/tesseract-static/bin/tesseract: undefined symbol: >> pixaDisplayTiledInColumns') >> >> Please help!! >> >> On Tuesday, September 8, 2020 at 9:42:08 AM UTC+3 Mobeen Ali wrote: >> >>> @mit did you found any solution? >>> >>> On Monday, September 7, 2020 at 5:32:56 PM UTC+3 mit wrote: >>> >>>> I am also looking for it. The process to create static tesseract >>>> >>>> On Monday, September 7, 2020 at 7:11:47 PM UTC+5:30 Mobeen Ali wrote: >>>> >>>>> Thanks @zdenop for your response. Is there any 'How To?' for building >>>>> the static version of tesseract on macOS or Ubuntu? >>>>> >>>>> >>>>> On Monday, September 7, 2020 at 2:01:29 PM UTC+3 zdenop wrote: >>>>> >>>>>> try to build static version of tesseract >>>>>> >>>>>> Zdenko >>>>>> >>>>>> >>>>>> po 7. 9. 2020 o 10:48 Mobeen Ali <moby...@gmail.com> napísal(a): >>>>>> >>>>>>> Hi! >>>>>>> I was trying to build and upload tesseract online. I've somehow >>>>>>> found the tesseract but I'm getting this error: >>>>>>> >>>>>>> "pytesseract.pytesseract.TesseractError: (127, >>>>>>> '/home/dpsocr/mysite/tesseract-ara/bin/tesseract: error while loading >>>>>>> shared libraries: libtesseract.so.4: cannot open shared object file: No >>>>>>> such file or directory')" >>>>>>> >>>>>>> It seems like tesseract is unable to find libtesseract library. >>>>>>> But the libraries are in the 'lib' directory as follows: >>>>>>> |_mysite >>>>>>> |_tesseract >>>>>>> |_bin >>>>>>> |_lib >>>>>>> |_tesseract >>>>>>> >>>>>>> *So the Question is that, I have built the tesseract using docker >>>>>>> now I wanted to know that if there is any way to build tesseract and >>>>>>> it's >>>>>>> libraries, and then compress them together to upload them to the online >>>>>>> hosting so that tesseract will know its required libraries are along >>>>>>> with >>>>>>> it.* >>>>>>> >>>>>>> Thanks for any advice. >>>>>>> >>>>>>> -- >>>>>>> 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 tesseract-oc...@googlegroups.com. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/tesseract-ocr/551aacb8-59ff-4c5f-881d-c8f94aeba0a4n%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/551aacb8-59ff-4c5f-881d-c8f94aeba0a4n%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 tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/b01e539e-e268-47b7-bb4c-7f84a041f171n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/b01e539e-e268-47b7-bb4c-7f84a041f171n%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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yac82wh2fCAXP%3DSpevM8MCb%3DJv7_6asF7pUK4KDvVKww%40mail.gmail.com.