Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
I recently upgraded from Ubuntu 12.04 to Ubuntu 14.04 - I was hoping that the upgrade might somehow improve my ability to use an iPhone 4 with Ubuntu - sadly I was disappointed.
But there were side effects. For example Tesseract 3.02 no longer ran correctly, instead it complained about its run time environment.
So, I went back to the tesseract 3.02 build directory and typed the obligatory './configure; make' or similar things.
Everything went well until link time, and then I had various errors about missing symbols, png files, tiff files, and so on. Then I empirically found that the line necessary to induce Tesseract to link was:
/bin/bash ../libtool --tag=CXX --mode=link g++ -o tesseract tesseract-tesseractmain.o libtesseract.la -lrt -lz -lpthread /usr/local/lib/liblept.a -lz -lpng -ljpeg -ltiff
So, I thought I would record that here for future reference for people interested in Tesseract v 3.02 on Ubuntu 14.04.