libreoffice-lambda-layer
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
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
the serverless app repo version is compiled against Amazon Linux 2, and you're most likely running it under an Amazon Linux 1 instance