make uninstall
uninstall tesseract perfectly if you installed from source. If you still have an issue, this means you had multiple installations of tesseract in your system (e.g. installed in /usr and /usr/local or user in home directory...) , or you did some unwise operation like installing 4x version than installed 5x version and then running make uninstall (it will remove 5x version but there are libraries 4x available and preferred by you system).
You can find installed problematic library quiet easily: find the tool that report error (I guess tesseract executable will report it too) and then:
- find exact location of executable with: $ which tesseract which will produce something like this: /usr/local/bin/tesseract
- run: $ ldd /usr/local/bin/tesseract which will produce something like this:
linux-vdso.so.1 (0x7edeb000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-li
libtesseract.so.5 => /usr/local/lib/libtesseract.so.5 (0x76ca3000)
liblept.so.5 => /usr/lib/liblept.so.5 (0x76a55000)
libarchive.so.13 => /usr/lib/arm-linux-gnueabihf/libarchive.so.13 (0x769
libcurl.so.4 => /usr/lib/arm-linux-gnueabihf/libcurl.so.4 (0x76925000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x7690e000)
...
- remove /usr/local/lib/libtesseract.so.5 with $ rm
/usr/local/lib/libtesseract*
- reinstall tesseract
This will not uninstall everything from previous installation, but at least it will give you a hint, where to look for leftovers of uninstalled tesseract.