-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build_deps fail with configure: error: leptonica library with pdf support (>= 1.71) is missing #4
Comments
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
<#4 (comment)>,
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:
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. |
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. |
I run ./build_deps on Ubuntu 18.04 and after a while I get this error.
Is there any way to workaround it?
The text was updated successfully, but these errors were encountered: