Closed GoogleCodeExporter closed 9 years ago
I can not reproduce it.
Original comment by zde...@gmail.com
on 9 Sep 2014 at 9:03
This error comes from Leptonica 1.70. Tesseract now requires Leptonica 1.71.
Leptonica 1.71 can be installed manually (but not so easily) and will ship with
Ubuntu for their 14.10 release scheduled for October 23 of this year.
Original comment by breidenb...@gmail.com
on 10 Sep 2014 at 8:11
Thanks to Zdenko for pointing out that this could be because of an older
version of leptonica also being on the system. That was indeed the case:
/usr/lib/liblept.a
/usr/lib/liblept.so
/usr/lib/liblept.so.4.0.1
/usr/lib/liblept.so.4
/usr/share/doc/libleptonica-dev
/usr/share/doc/liblept4
/usr/local/lib/liblept.so.4.0.2
/usr/local/lib/liblept.a
/usr/local/lib/liblept.la
/usr/local/lib/liblept.so
/usr/local/lib/liblept.so.4
Though, I would have thought that the program would pick up /usr/local/ before
/usr/
Anyway, after deletion of the old version, the build went ok.
Appreciate your help.
Original comment by shreeshrii
on 11 Sep 2014 at 12:54
and for us novices with the same problem, how do i delete the 1.70 version?
I installed it with sudo apt-get install libleptonica-dev
Original comment by SirOsisO...@gmail.com
on 23 Sep 2014 at 5:55
Srirangaji had written:
"using ubuntu software centre I have removed leptonica -version progs:i386
1.70.1-1 (uninstalled completely."
Please give that a try and then install the new version.
Original comment by shreeshrii
on 23 Sep 2014 at 6:11
I am facing the same error. I tried compiling with leptonica 1.71 and 1.72.
Original comment by sushruts...@gmail.com
on 28 May 2015 at 8:46
I have the same problem when compiling in Ubuntu 14.04.
The error is:
libtool: link: g++ -std=c++11 -o .libs/tesseract tesseract-tesseractmain.o
./.libs/libtesseract.so -lrt -llept -lpthread
./.libs/libtesseract.so: undefined reference to `l_generateCIDataForPdf'
./.libs/libtesseract.so: undefined reference to `l_CIDataDestroy'
tesseract -v
tesseract 3.03
leptonica-1.72
libjpeg 8d (libjpeg-turbo 1.3.0) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
I basically follow the instruction in
https://realpython.com/blog/python/setting-up-a-simple-ocr-server/
Please help.
Original comment by kingsf...@gmail.com
on 2 Jul 2015 at 3:41
Original issue reported on code.google.com by
shreeshrii
on 9 Sep 2014 at 3:26Attachments: