The tesseract binary it creates,still needs leptonica files to run , which 
in essence breaks the core idea of static linking

On Tuesday, September 8, 2020 at 12:38:16 PM UTC+5:30 Mobeen Ali wrote:

> @mit heres the link to the github page:
>
> https://github.com/wingedrhino/static-tesseract
>
> This guy has a single script written for the whole task. but when build 
> the static version of tesseract and run it, i get this error:
>
> pytesseract.pytesseract.TesseractError: (127, 
> '/home/dpsocr/mysite/tesseract-static/bin/tesseract: symbol lookup error: 
> /home/dpsocr/mysite/tesseract-static/bin/tesseract: undefined symbol: 
> pixaDisplayTiledInColumns')
>
> Give it a try and share what you get.
> Best of Luck!
>
> On Tuesday, September 8, 2020 at 10:04:00 AM UTC+3 mit wrote:
>
>>
>> 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/33fa3388-6703-44a7-ba4f-8ed69930a3e7n%40googlegroups.com.

Reply via email to