Ask Your Question

LibreOffice writer will not start. [closed]

asked 2019-10-16 20:02:04 +0100

rjs485 gravatar image

updated 2020-07-25 17:10:23 +0100

Alex Kemp gravatar image

Command libreoffice -writer results in

/usr/lib/libreoffice/program/oosplash: error while loading shared libraries: /usr/lib/libreoffice/program/ invalid ELF header

Acquired behavior. Writer worked fine, then one day stopped working. Reinstall of LibreOffice didn't help.

Ubuntu MATE 18.04.3 LTS on AMD-64

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-07-25 17:14:50.514548



You have not stated what version of LO you are using. If using v6.3.x try:

 libreoffice6.3 --writer

where 6.3 is the version installed.

Ratslinger gravatar imageRatslinger ( 2019-10-16 21:31:23 +0100 )edit

Please show us output from command: file /usr/lib/libreoffice/program/ : It should povide something like:

user@system:~$ file  /usr/lib/libreoffice/program/
/usr/lib/libreoffice/program/ ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3f05199f1ef735aa21a336e19f013f92e588c11a, stripped

Output is from an Ubuntu MATE 18.04 using Libreoffice 6.0.7 (no PPA used)

Opaque gravatar imageOpaque ( 2019-10-16 23:25:41 +0100 )edit


Here is mine from Ubuntu MATE 18.04.3 using Libreoffice v6.3.2.2 (TDF):

/usr/lib/libreoffice/program/ ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2dd0c9f3b6b01d5ee6a20a935f09e339bbc09117, stripped
Ratslinger gravatar imageRatslinger ( 2019-10-16 23:31:20 +0100 )edit

@Ratslinger - thanks for the info.
@rjs485 - did you use PPA or TDF resources recently and now reverted to distribution version 6.0.7?(Asking since on my Ubuntu test system I do change very often and had a similar issue just some minutes ago)

Please check also which points to reinstall of package uno-libs3 may be required.

Opaque gravatar imageOpaque ( 2019-10-16 23:55:03 +0100 )edit

Here is the output Opaque requested. I included ls to make sure the file was present. I never paid attention to what version of Libreoffice I was using, and now none of the Libreoffice programs start, so I don't know how to determine the version.

rjs@RSBK:~$ file /usr/lib/libreoffice/program/ /usr/lib/libreoffice/program/ data rjs@RSBK:~$ ls /usr/lib/libreoffice/program/ /usr/lib/libreoffice/program/ rjs@RSBK:~$

rjs485 gravatar imagerjs485 ( 2019-10-18 17:07:43 +0100 )edit

Looks like your installation is corrupt - a type of data is definitely incorrect for an shared object library. Please try to reinstall uno-libs3 using the following command:
sudo apt install --reinstall uno-libs3

(If you never paid attentation to what's being installed you most probably have version 6.0.7, which is installed by Ubuntu 18.04).

Opaque gravatar imageOpaque ( 2019-10-19 13:37:32 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-10-19 19:43:40 +0100

rjs485 gravatar image

updated 2019-10-19 19:44:46 +0100

Took Opaque's advice and reinstalled uno-libs 3. Then, I attempted sudo apt install libreoffice, which resulted in a big long display that ended as follows:

"Errors were encountered while processing: /tmp/apt-dpkg-install-BGXK4R/07-libreoffice-common_1%3a6.0.7-0ubuntu0.18.04.10_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) rjs@RSBK:~$ libreoffice

Command 'libreoffice' not found, but can be installed with:

sudo snap install libreoffice"

which I did. Now I have libreoffice working, nice new version. Clearly there is also some issue with dpkg, but I won't worry about that. Thanks for assistance of Opaque and Ratslinger.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-10-16 20:02:04 +0100

Seen: 569 times

Last updated: Oct 19 '19