you have not responded to zdenko's suggestion to provide output of ldd tesseract
or ldd /usr/local/bin/tesseract (use the location of tesseract, which you can find by which tesseract) ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Mon, Mar 20, 2017 at 4:53 PM, Kazi Moinul Hossain <moinjoje...@gmail.com> wrote: > I uninstalled all the previous leptonica and tesseract, installed all the > new stuffs. When i am typing tesseract -v, it is showing properly the > leptonica and tesseract version. > But When i am typing, tesseract sample.tif sample, it is showing "Illegeal > instruction (core dumped)". > Ultimately, i became unable to compile the C++ program as mentioned here > before.After compilation command, it is showing, "fatal error: baseapi.h: > No such file or directory" > What could be the soultion? Please help > > On Friday, 17 March 2017 19:41:20 UTC+6, shree wrote: >> >> sudo apt-get remove libleptonica-dev libleptonica >> >> >> ShreeDevi >> ____________________________________________________________ >> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >> >> On Fri, Mar 17, 2017 at 7:09 PM, ShreeDevi Kumar <shree...@gmail.com> >> wrote: >> >>> try >>> >>> sudo apt-get remove libleptonica-dev >>> >>> ShreeDevi >>> ____________________________________________________________ >>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >>> >>> On Fri, Mar 17, 2017 at 6:06 PM, Kazi Moinul Hossain <moinj...@gmail.com >>> > wrote: >>> >>>> how can i uninstall old leptonica fully? I am attempting with "sudo >>>> apt-get autoremove leptonica" and it is showing "unable to locate package" >>>> >>>> On Friday, 17 March 2017 17:56:13 UTC+6, shree wrote: >>>> >>>>> I use the following batch files in the folders where I have cloned >>>>> tesseract and leptonica. >>>>> >>>>> 1. leptonica >>>>> >>>>> #!/bin/bash >>>>> git pull origin >>>>> ./autobuild >>>>> #./configure --disable-dependency-tracking >>>>> ./configure >>>>> make >>>>> sudo make install >>>>> sudo ldconfig >>>>> cd prog >>>>> make >>>>> cd .. >>>>> >>>>> 2. tesseract >>>>> >>>>> #!/bin/bash >>>>> ./autogen.sh >>>>> ./configure >>>>> LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make >>>>> sudo make install >>>>> sudo ldconfig >>>>> make training >>>>> sudo make training-install >>>>> >>>>> -- >>>> 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 post to this group, send email to tesser...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/tesseract-ocr/14390a99-0423-46ff-9501-56bbeb41d794%40goo >>>> glegroups.com >>>> <https://groups.google.com/d/msgid/tesseract-ocr/14390a99-0423-46ff-9501-56bbeb41d794%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 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 post to this group, send email to tesseract-ocr@googlegroups.com. > 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/4a5b2bec-f3a2-4839-af9a-e208f1a313ac% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/4a5b2bec-f3a2-4839-af9a-e208f1a313ac%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 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 post to this group, send email to tesseract-ocr@googlegroups.com. 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/CAG2NduUMPR%2BG60bGx_i1MYUt-DoYys5rKmtLtzD1z%2B_PpLYBVw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.