this may be the version of tesseract is not compatible to ubuntu version
as to me my programe runs in win10 has no error ,but when in ubuntu 12.04 this error occurs
maybe I install tesseract by the command
sudo apt-get install tesseract-ocr
but indeed in ubuntu
sudo apt-get install libpng-dev libjpeg-dev libtiff-dev zlib1g-dev
sudo apt-get install gcc g++
sudo apt-get install autoconf automake libtool checkinstall
wget will fail ,you can download it first,and then upload to the server(leptonica-1.69.tar.gz google to download
)
Install Leptonica from source. The latest version as of writing is 1.69.
wget http://www.leptonica.org/source/leptonica-1.69.tar.gz
tar -zxvf leptonica-1.69.tar.gz
cd leptonica-1.69
./configure
make
sudo checkinstall
sudo ldconfig
Then install Tesseract OCR from source.
wget https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
tar -zxvf tesseract-ocr-3.02.02.tar.gz
cd tesseract-ocr
./autogen.sh
./configure
make (this may take a while)
sudo make install
sudo ldconfig
after this i solve this problem