Skip to content
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

liblzma.so.5 missing in docker image / adding solves AWS lambda issue #17

Open
georg-wind opened this issue Jul 30, 2024 · 0 comments
Open

Comments

@georg-wind
Copy link

Problem:
I used this excellent script to generate binaries for use in AWS lambda (python3.11 runtime). Calling pdfinfo, it raised this exception:
"liblzma.so.5: cannot open shared object file: No such file or directory". The .so should probably be shipped with the AWS runtime but apparently whatever we got wasn't working for us.

Fix:
I generated the binaries again, but accessed the running docker container and copying liblzma.so.5 from its lib64/... path (got exact path from ldd pdfinfo) to the poppler_binaries (adding it) folder before proceeding as usual (copying to host, zipping, ..).

I assume it could be added to the standard image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant