遇到这个错误
$ tesseract foo.png bar
 tesseract: error while loading shared
 libraries: libtesseract_api.so.3 cannot open shared object file: No 
such file or directory
You need to update the cache for the runtime linker. The following should get you up and running:
$ sudo ldconfig
