I installed libreoffice on my AWS EC2 instance following this script. The installation happened successfully but when I try to convert a file:
/opt/libreoffice5.3/program/soffice --headless --convert-to pdf test.docx
I get the following error message:
/opt/libreoffice5.3/program/soffice.bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Then I installed the missing library with yum: sudo yum install libdbus-glib-1.so.2
. The installation happened successfully but it still doesn't work properly giving me the same error as before.
I've seen similar questions and answers but none solved my issue yet. Would you have any tips to help me?
Thanks for any help