Ubuntu: Libreoffice 5 does not start - error while loading shared libraries



Question:

After installation of all .deb of LibreOffice 5, failed to start any application of LibreOffice. it crashes. Using 14.04 Ubuntu.

Message

libreoffice5.0 javaldx:   Could not find a Java Runtime Environment!   Warning: failed to read path from javaldx /opt/libreoffice5.0/program/soffice.bin:   error while loading shared libraries:   libdbus-glib-1.so.2: cannot open shared object file: No such file  


Solution:1

Try to install the following lib and relaunch LibreOffice :

sudo apt-get install libdbus-glib-1-2:i386  

The missing library libdbus-glib-1.so.2 is in the package libdbus-glib-1-2.


Solution:2

I just ran into this issue with the latest libreoffice on a production machine.

LibreOffice 5.1.6.2 10m0(Build:2)  

To fix:

sudo apt -y install libreoffice-base  

This will install all the requirements for libreoffice including the java-jre


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »