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

Library dependency fail, libreoffice

Open cruzortiz99 opened this issue 4 years ago • 2 comments

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?

cruzortiz99 avatar May 15 '20 20:05 cruzortiz99

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

randomhash avatar Jul 12 '20 22:07 randomhash

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

surgeloft avatar Dec 01 '20 13:12 surgeloft