Open nico87 opened 5 years ago
Can you check if you have the libpoppler-dev package installed? I suspect leptonica was built without PDF support in it because of a missing dependency and then when tesseract tried to use it, it complains about this. I'll try to test it out on a clean install as well.
Hi, thanks. I checked it and it was not installed. I installed it then, but the issue is still there.
Il giorno ven 9 nov 2018 alle ore 17:44 Saso Kiselkov < notifications@github.com> ha scritto:
Can you check if you have the libpoppler-dev package installed? I suspect leptonica was built without PDF support in it because of a missing dependency and then when tesseract tried to use it, it complains about this. I'll try to test it out on a clean install as well.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/skiselkov/libacfutils/issues/4#issuecomment-437419438, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTK5hxGaVEvOSyUbfFZOQaVaqCeIOC3ks5utbDsgaJpZM4YW5Hi .
-- Claudio
It's possible that you'll need to rebuild leptonica so it picks up the pdf library now. Try this:
$ cd ocr
$ do_clean=1 ./build_ocr_deps
$ ./build_ocr_deps
This should clean out the OCR deps libraries and restart their build clean.
I can reproduce the issue now. Gonna analyze and get back to you.
Ok, tried to fix this in commit 358f883. Please give that a go.
Thank you! I'll check this out asap
Hi, I eventually had the chance to download again the sources and try to recompile them. Unfortunately I still have the very same issue. Is there something I can provide you that can shed more light on this problem?
I too have this issue when building libacfutils on linux, but it only occurs in cross-compiling the windows. I'm all doing this on fedora 32
Just remove the distro leptonica library, that fixed it for me. Looks like it is linking to it instead to the provided one in ocr, but does not like it because it is not patched. Maybe the build script should be fixed to hard link provided library. Building on mint btw. @kukel
I run ./build_deps on Ubuntu 18.04 and after a while I get this error. Is there any way to workaround it?