[tesseract-ocr] error building 3.05.01

152 views
Skip to first unread message

ShreeDevi Kumar

unread,
Jun 19, 2017, 11:27:35 PM6/19/17
to tesser...@googlegroups.com
Sorry, I haven't built 3.05.01.

Hope others can help.


On Tue, Jun 20, 2017 at 2:32 AM, David Barishev <davi...@gmail.com> wrote:
hey, i try to build tesseract from source now, and after i have built Leptonica, i couldn't build tesseract with this error :

/bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -std=c++11   -o tesseract tesseract-tesseractmain.o libtesseract.la  -lrt -lpthread 
libtool: link: g++ -g -O2 -std=c++11 -o .libs/tesseract tesseract-tesseractmain.o  ./.libs/libtesseract.so -lrt -lpthread
/usr/bin/ld: tesseract-tesseractmain.o: undefined reference to symbol 'lept_free'
//usr/local/lib/liblept.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:598: recipe for target 'tesseract' failed
make[2]: *** [tesseract] Error 1
make[2]: Leaving directory '/home/david/project/tesseract-3.05.01/api'
Makefile:489: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/david/project/tesseract-3.05.01'
Makefile:398: recipe for target 'all' failed
make: *** [all] Error 2


Any idea why ? 

Reply all
Reply to author
Forward
0 new messages