libreoffice-lambda-layer
libreoffice-lambda-layer copied to clipboard
Library dependency fail, libreoffice
hi i'm getting this error:
/tmp/instdir/program/soffice.bin: error while loading shared libraries: libmergedlo.so: cannot open shared object file: No such file or directory
the comand is:
/tmp/instdir/program/soffice.bin --headless --norestore --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --convert-to "pdf:writer_pdf_Export" --outdir /tmp /tmp/test.doc
the aws layer is:
arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-brotli:1
How can i solve this?
try to check our test, there is example with correct path ;) Also, to catch out what is happening try to list folders inside runtime, it will help you to undestand structure
The issue for me was the lambda function was set at default timeout of 6.
This caused the LO unpack to stop halfway and subsequent uses of LO would be missing files.. The brotli unpack takes ~15s on my tests