When using tesseract, the following error is prompted:
tesseract: error while loading shared libraries: libtesseract.so.3: cannot open shared object file: No such file or directory
Refer to the blog , first search for this file in the /usr/local/lib directory, and I found it! It means that our tesseract did not miss this file when it was installed:
check if the path is added to the environment below:
vim /etc/ld.so.conf
See that the path /usr/local/lib already exists in this file. But still reported this error.
The reason is that the path is written but not updated, just use ldconfig
update √