wget http://www.leptonica.com/source/leptonica-1.76.0.tar.gz
tar xvf leptonica-1.76.0.tar.gz
cd leptonica-1.76.0/
./configure
make -j2
sudo make install
sudo ldconfig
then
install Tesseract(install from source)
wget https://github.com/tesseract-ocr/tesseract/archive/4.0.0.zip -O tesseract-4.0.0.zip
unzip tesseract-4.0.0.zip && mv tesseract-4.0.0 tesseract
cd tesseract
./autogen.sh
./configure
make -j2
sudo make install
sudo ldconfig
Solution:
install Leptonica(install from source)
then
install Tesseract(install from source)
Problem Solved :+1: