Mon Jan 4 14:24:45 PST 2016

Linking Tesseract v3.02 on Ubuntu 14.04

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.

Comments are closed


If you would like to get in touch with me, please mail zfs at themolecularuniverse.com

recent comments

Posted by ZFS | Permanent link | File under: bash
[StumbleUpon] [Digg] [Reddit] [Facebook] [Google]