libreoffice-lambda-layer icon indicating copy to clipboard operation
libreoffice-lambda-layer copied to clipboard

Not found : lib64/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/instdir/program/libmergedlo.so With AWS Lambda python 3.8

Open dhaval-radadia opened this issue 4 years ago • 1 comments

I am trying to convert document and jpg file to pdf using lambda (Python) but I got the following error.

getting error file not found: /tmp/instdir/program/soffice.bin: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/instdir/program/libmergedlo.so)

Used command:

'export HOME=/tmp && /tmp/instdir/program/soffice.bin --headless --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --convert-to pdf --outdir /tmp/2020-10-23-06:35:33/'/tmp/2020-10-23-06:35:33/2020-10-21.jpg'

Used Lambda Layer : arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-gzip:1

dhaval-radadia avatar Oct 23 '20 06:10 dhaval-radadia

the serverless app repo version is compiled against Amazon Linux 2, and you're most likely running it under an Amazon Linux 1 instance

randomhash avatar Mar 17 '21 08:03 randomhash