-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ocrmypdf --version crashes with pikepdf 2.2.1 #698
Comments
Can you provide some additional information, in particular what OS is this, and what commands did you use to install it? |
Ubuntu 20.04 LTS. OCRmyPDF 11.4. qpdf 10.0.4 and pikepdf 2.2.1 were installed from the deposits on github.
No crash. Now if I do a |
I pushed pikepdf 2.2.1 to pypi. Please try that instead. The binary wheels provide their own version of libqpdf and should bypass the issue you encountered. There are no C++ code changes between 2.2.0 and 2.2.1, so the difference is something to do with custom compilation of qpdf and pikepdf. The command |
Installing pikepdf 2.2.1 from the wheel on pypi works, and the PDF/A-1B generated by OCRmyPDF is valid for veraPDF. Thanks! The version of qpdf installed on Ubuntu 20.04 is 9.1.1. I did install in /usr/local/lib version 10.0.4 of qpdf compiled from the git deposit. The directory /usr/local/lib is listed in /etc/ld.so.conf.d/libc.conf. I did a |
I found a way! In the source tree of pikepdf, in a venv (see my notes above):
|
I updated the pikepdf install instructions to mention LDFLAGS. |
Here is the core dump:
OCRmyPDF 11.4.0
pikepdf 2.2.1
qpdf 10.0.4
python 3.8.5
Could be an issue with pikepdf.
The text was updated successfully, but these errors were encountered: