Symbol lookup error while using Tesseract

十年热恋 提交于 2019-12-06 03:40:58

Here is the solution for ubuntu 18.04

Please first install the libraries which are required for tesseract-ocr

sudo apt install libtesseract-dev libleptonica-dev liblept5

Then simply install tesseract using command

sudo apt install tesseract-ocr -y

Posted as an answer instead of a comment to be able to make modifications.

On Debian GNU/Linux 9.6 (stretch) (also worked on 9.9) as of June 2019.

When tesseract stopped working "all of a sudden", I had to

sudo apt-get purge libtesseract4 tesseract-ocr

and then reinstall them again (via the backport since there were not available in the stable channel) :

sudo apt-get install -t stretch-backports tesseract-ocr 

So essential thing in my case was to resinstall libtesseract4 otherwise the symbol lookup error: tesseract: undefined symbol kept showing.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!