tesseract
tesseract copied to clipboard
Latest version (4.1.1) doesn't work on Linux
When trying to run it, you get the following error:
---> System.DllNotFoundException: Failed to find library "libleptonica-1.80.0.so" for platform x64.
at InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)
at InteropRuntimeImplementer.LeptonicaApiSignaturesInstance.LeptonicaApiSignaturesImplementation..ctor(LibraryLoader loader)
And sure enough, there's no libleptonica-1.80.0.so in my x64 folder.
https://github.com/charlesw/tesseract/issues/503#issuecomment-613430901 This should help
@fleimeris It would if there was libleptonica-1.80 in my distro's repos. But thanks.
Yeah, expecting people to install the correct dependency from their distribution's repositories is not sustainable. As I note here, this project should be bundling its dependencies inside the nupkg for distribution. That will ensure that it always has the right version of whatever it needs distributed along with it.
Library versions can change during distro upgrades which would freeze which one(s) this project could work with. Which comes with its own set of frustrations and risks.
x64.zip I compiled it for linux