Comments (3)
Hi @gritnix, using one of the methods you described above, were you able to successfully compile a new version of LibreOffice that works in lambda? When I compile libre it works fine on my local machine, but in lambda it results in this error: /tmp/instdir/program/oosplash: /var/lang/lib/libstdc++.so.6: version
CXXABI_1.3.9' not found (required by /tmp/instdir/program/libuno_sal.so.3)
/tmp/instdir/program/oosplash: /var/lang/lib/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /tmp/instdir/program/libuno_sal.so.3)
If you successfully compiled a newer version of LibreOffice, would you possibly be willing to share it?
from serverless-libreoffice.
I was able to get it working, and the real trick was to create an EC2 instance using the same AMI that Lambda uses. Don't use your local machine to compile, create an EC2 instance just to compile it. Even still, you'll need to do that glibc thing I mention above. I might be able to just share it, let me see if I can find a place to put it, but start down that road of making an EC2 instance using that AMI. Pretty simple.
from serverless-libreoffice.
@gritnix Thank you for the reply, I already compiled it with the EC2 instance, I meant just converting pdf's I tried both in the EC2 instance and locally and the program worked correctly. It's just when it's in lambda that it breaks. Could you elaborate a little more on what to do with the glibc thing? I'm not sure I understand the part about creating a soft link. If you're willing to share it, you could probably just upload it to google drive or something similar.
from serverless-libreoffice.
Related Issues (20)
- Is it possible to add custmoized font? HOT 4
- Formatting differences in docx-->pdf conversion vs locally run libreoffice HOT 1
- Convert excel file to pdf HOT 2
- Can't start lambda HOT 2
- Can I use it to convert files to docx instead of PDF?
- Azure functions: error while loading shared libraries: libssl3.so HOT 7
- /tmp/instdir/program/oosplash: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory HOT 1
- Can't compile against Amazon Linux 2 HOT 5
- Running command throws com::sun::star::container::NoSuchElementException Exception HOT 9
- /tmp/instdir/program/soffice.bin: error while loading shared libraries: libmergedlo.so: cannot open shared object file: No such file or directory HOT 1
- Fontconfig error: Cannot load default config file HOT 3
- Error: Please verify input parameters... on conversion from docx with Table of Contents HOT 9
- Incorrect result of .msg files conversion HOT 2
- Python Example HOT 3
- Conversion html to pdf with mistakes
- compile.sh for 6.4.0.1
- How to compile libreoffice to make it support other languages like CJK etc?
- Docker deamon exits on tar -xf lo.tar.gz with (duplicates of file paths not supported):
- Unable to convert doc file to pdf file
- Issue converting to pdf, getting NoSuchElementException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-libreoffice.