I guess you have another installation of tesseract present in your system. Please uninstall old version/other tesseract before installing new version...
Zdenko ut 25. 9. 2018 o 15:03 Khosrobeigy.zohreh <[email protected]> napĂsal(a): > Today, I installed new version of tesseract. Iused this line: > > https://bingrao.github.io/blog/post/2017/07/16/Install-Tesseract-4.0-in-ubuntun-16.04.html > and also : > cd leptonica 17.4 > ./configure > sudo make > sudo make install > sudo apt-get install g++ (sudo -f install) > sudo apt-get install autoconf automake libtool > sudo apt-get install autoconf-archive > sudo apt-get install pkg-config > sudo apt-get install libpng-dev > sudo apt-get install libjpeg8-dev > sudo apt-get install libtiff5-dev > sudo apt-get install zlib1g-dev > ****tools for train > sudo apt-get install libicu-dev > sudo apt-get install libpango1.0-dev > sudo apt-get install libcairo2-dev > > ****install tesseract > ./autogen.sh > ./configure > sudo make > sudo make install > sudo ldconfig > sudo make training > sudo make training-install > > > On Tue, Sep 25, 2018 at 4:25 PM Shree Devi Kumar <[email protected]> > wrote: > >> Your installation of tesseract and training tools has some problem. >> >> How did you build or install tesseract? >> >> On Tue, 25 Sep 2018, 08:52 Khosrobeigy.zohreh, <[email protected]> >> wrote: >> >>> zohreh@zohreh-TP301UJ:~$ text2image -v >>> text2image: symbol lookup error: text2image: undefined symbol: >>> _Z16tprintf_internalPKcz >>> It shows same error. >>> >>> On Tue, Sep 25, 2018 at 4:20 PM Shree Devi Kumar <[email protected]> >>> wrote: >>> >>>> What's the output for? >>>> >>>> which text2image >>>> >>>> text2image -v >>>> >>>> >>>> >>>> >>>> On Tue, 25 Sep 2018, 08:39 Khosrobeigy.zohreh, <[email protected]> >>>> wrote: >>>> >>>>> Yes, actually the main problem is this error: >>>>> /usr/local/bin/text2image: symbol lookup error: >>>>> /usr/local/bin/text2image: undefined symbol: _Z16tprintf_internalPKcz >>>>> I have this error. How can I solve this error? >>>>> >>>>> On Tue, Sep 25, 2018 at 3:41 PM Shree Devi Kumar <[email protected]> >>>>> wrote: >>>>> >>>>>> Are the fonts in /usr/share/fonts ? >>>>>> >>>>>> Reduce the >>>>>> --min_coverage 1 >>>>>> >>>>>> to .99 and see if some fonts are found. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, 25 Sep 2018, 07:50 Zohreh Khosrobeygi, < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> I use >>>>>>> tesseract 4.0.0-beta.4 >>>>>>> leptonica-1.74.4 >>>>>>> libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : >>>>>>> zlib 1.2.8 >>>>>>> >>>>>>> Found AVX2 >>>>>>> Found AVX >>>>>>> Found SSE >>>>>>> But when I run this command: >>>>>>> text2image --find_fonts \ >>>>>>> --fonts_dir /usr/share/fonts \ >>>>>>> --text ./langdata/fas/fas.training_text \ >>>>>>> --min_coverage 1 \ >>>>>>> --outputbase ./langdata/fas/fas \ >>>>>>> |& grep raw | sed -e 's/ :.*/" \\/g' | sed -e 's/^/ "/' >>>>>>> >./langdata/fas/fas.fontslist.txt >>>>>>> fas.fontslist.txt is empty. I have some fonts on my linux. >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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/af4239bf-2cad-405f-ba22-540b65dd7596%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/af4239bf-2cad-405f-ba22-540b65dd7596%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "tesseract-ocr" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/tesseract-ocr/_N-t_f4xAbY/unsubscribe >>>>>> . >>>>>> To unsubscribe from this group and all its topics, 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/CAG2NduUXxa4JforbbVpVU1QJPyQ3B7unKz3L07Jsc%2BrcZGxe6Q%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduUXxa4JforbbVpVU1QJPyQ3B7unKz3L07Jsc%2BrcZGxe6Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> -- >>>>> Zohreh Khosrobeygi >>>>> University of Tehran, 2016 >>>>> Tel: +989196042887 >>>>> [email protected] <[email protected]> >>>>> >>>>> -- >>>>> 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/CAE1QSgzAawwzyTgO8q4OSHHVJU3TJsLTq2hL2XY%3Dz5n5-gB3Cw%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAE1QSgzAawwzyTgO8q4OSHHVJU3TJsLTq2hL2XY%3Dz5n5-gB3Cw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "tesseract-ocr" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/tesseract-ocr/_N-t_f4xAbY/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, 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/CAG2NduUQFhUi1d3R42ZjV8Bu0vC_i4g916T-6O1Ua_3bmZYj%3Dw%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduUQFhUi1d3R42ZjV8Bu0vC_i4g916T-6O1Ua_3bmZYj%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> -- >>> Zohreh Khosrobeygi >>> University of Tehran, 2016 >>> Tel: +989196042887 >>> [email protected] <[email protected]> >>> >>> -- >>> 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/CAE1QSgzM-ovJsi9-jWCGh3RGMY40Z4evskCNjohs_se6uWHV8w%40mail.gmail.com >>> <https://groups.google.com/d/msgid/tesseract-ocr/CAE1QSgzM-ovJsi9-jWCGh3RGMY40Z4evskCNjohs_se6uWHV8w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "tesseract-ocr" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/tesseract-ocr/_N-t_f4xAbY/unsubscribe. >> To unsubscribe from this group and all its topics, 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/CAG2NduXMRC8-jkP2LBm-7LOiOqgg77sJ%3D%2Bch1Y_WO6BUqqs4NA%40mail.gmail.com >> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXMRC8-jkP2LBm-7LOiOqgg77sJ%3D%2Bch1Y_WO6BUqqs4NA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Zohreh Khosrobeygi > University of Tehran, 2016 > Tel: +989196042887 > [email protected] <[email protected]> > > -- > 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/CAE1QSgyHkfg-9VqiZ2xVMC5VYrnVTfcfJ2Ap0p%2BykBOt%2BUmjNg%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAE1QSgyHkfg-9VqiZ2xVMC5VYrnVTfcfJ2Ap0p%2BykBOt%2BUmjNg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJbzG8yGcYUrcF_EVHskeZZo1DuN7YLQQBA-Lv44TKP7JFXy%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

