Ask Your Question
0

Can't run Libreoffice at all - Crash at the beginning

asked 2019-03-28 22:40:57 +0100

Kamaluk gravatar image

updated 2019-04-04 10:41:15 +0100

I've tried reinstalling java, I've reinstalled Libreoffice - nothing works.

I'm running Fedora 28, but the problems were already persistent running 27.

# uname -r
4.20.17-100.fc28.x86_64

Verbose looks like this:

# libreoffice -v
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /lib64/liborcus-0.13.so.0: file too short

I've installed liborcus-0.13.so.0, liborcus-0.13.4, java-openjdk, java-1.8.0-openjdk... I don't know what to do next.

Can you help me?

Greetings!

C:\fakepath\LibreOffice.odt

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2019-04-04 10:39:38 +0100

Kamaluk gravatar image

I've Fedora KDE installed - I lof normally into the system....

$ rpm -qa | grep -i libreoffice
libreoffice-help-hi-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-de-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ta-6.0.7.3-1.fc28.x86_64
libreoffice-glade-6.0.7.3-1.fc28.x86_64
libreofficekit-devel-6.0.7.3-1.fc28.x86_64
libreoffice-help-gl-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ca-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-sk-6.0.7.3-1.fc28.x86_64
libreoffice-bsh-6.0.7.3-1.fc28.x86_64
libreoffice-sdk-6.0.7.3-1.fc28.x86_64
libreoffice-help-ko-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-eu-6.0.7.3-1.fc28.x86_64
libreoffice-voikko-4.1-9.fc28.x86_64
libreoffice-langpack-fa-6.0.7.3-1.fc28.x86_64
libreoffice-ure-6.0.7.3-1.fc28.x86_64
libreoffice-help-id-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-en-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-zh-Hans-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-as-6.0.7.3-1.fc28.x86_64
libreoffice-help-de-6.0.7.3-1.fc28.x86_64
libreoffice-help-sv-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-nb-6.0.7.3-1.fc28.x86_64
libreoffice-xsltfilter-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-te-6.0.7.3-1.fc28.x86_64
libreoffice-help-ca-6.0.7.3-1.fc28.x86_64
libreoffice-help-si-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ko-6.0.7.3-1.fc28.x86_64
libreoffice-base-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-sr-6.0.7.3-1.fc28.x86_64
libreoffice-opensymbol-fonts-6.0.7.3-1.fc28.noarch
libreoffice-help-eu-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ar-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ro-6.0.7.3-1.fc28.x86_64
libreoffice-nlpsolver-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-zu-6.0.7.3-1.fc28.x86_64
libreoffice-help-en-6.0.7.3-1.fc28.x86_64
libreoffice-help-uk-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-pl-6.0.7.3-1.fc28.x86_64
libreoffice-postgresql-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ts-6.0.7.3-1.fc28.x86_64
libreoffice-help-lv-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-gl-6.0.7.3-1.fc28.x86_64
libreoffice-x11-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-kk-6.0.7.3-1.fc28.x86_64
libreoffice-gtk3-6.0.7.3-1.fc28.x86_64
libreoffice-help-ja-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-et-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-fi-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-cy-6.0.7.3-1.fc28.x86_64
libreoffice-help-gu-6.0.7.3-1.fc28.x86_64
libreoffice-help-pt-PT-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-cs-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-id-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-sl-6.0.7.3-1.fc28.x86_64
libreoffice-pdfimport-6.0.7.3-1.fc28.x86_64
libreoffice-gallery-vrt-network-equipment-1.2.0-9.fc28.x86_64
libreoffice-langpack-nso-6.0.7.3-1.fc28.x86_64
libreoffice-writer2latex-1.0.2-23.fc28.x86_64
libreoffice-help-fi-6.0.7.3-1.fc28.x86_64
libreoffice-help-nn-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-bg-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-hi-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ru-6.0.7.3-1.fc28.x86_64
libreoffice-writer-6.0.7.3-1.fc28.x86_64
libreoffice-librelogo-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-ml-6.0.7.3-1.fc28.x86_64
libreoffice-officebean-6.0.7.3-1.fc28.x86_64
libreoffice-help-fr-6.0.7.3-1.fc28.x86_64
libreoffice-help-pl-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-bn-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-hr-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-si-6.0.7.3-1.fc28.x86_64
libreoffice-calc-6.0.7.3-1.fc28.x86_64
libreoffice-wiki-publisher-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-mr-6.0.7.3-1.fc28.x86_64
libreoffice-rhino-6.0.7.3-1.fc28.x86_64
libreoffice-help-et-6.0.7.3-1.fc28.x86_64
libreoffice-help-nb-6.0.7.3-1.fc28.x86_64
libreoffice-help-zh-Hant-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-gu-6.0.7.3-1.fc28.x86_64
libreoffice-langpack-pt-PT-6.0.7.3-1.fc28.x86_64
libreoffice-core-6.0 ...
(more)
edit flag offensive delete link more
0

answered 2019-06-04 17:24:17 +0100

The problem may be related to your openjdk installation, but uninstalling and reinstalling alone might not be a sufficient fix. It may be necessary to redownload openjdk before reinstalling, as suggested by this thread where someone solved an AOO problem with a similar error by redownloading the jre... https://forum.openoffice.org/en/forum...

When dnf performs a remove followed by an install or performs a reinstall, it just installs the package stored in its cache. If the cached package is flaky and causing problems, reinstalling won't solve the problems.

The easiest way to get dnf to redownload is to just clear the whole cache by running dnf clean all, as noted at https://www.rootusers.com/25-useful-d....

Then, after clearing the cache, running dnf to install openjdk should initiate the download process before performing the installation.

edit flag offensive delete link more
0

answered 2019-03-28 23:38:16 +0100

Opaque gravatar image

updated 2019-03-28 23:44:41 +0100

Hello

could be a an incorrect link of /lib64/liborcus-0.13.so.0 pointing to nowhere. Should look like:

user@system ~]$ ls -l /lib64/liborcus-*
lrwxrwxrwx. 1 root root      22 14. Jul 2018  /lib64/liborcus-0.13.so.0 -> liborcus-0.13.so.0.0.0
rwxr-xr-x. 1 root root 1231920 14. Jul 2018  /lib64/liborcus-0.13.so.0.0.0
lrwxrwxrwx. 1 root root      26 14. Jul 2018  /lib64/liborcus-mso-0.13.so.0 -> liborcus-mso-0.13.so.0.0.0
-rwxr-xr-x. 1 root root   53736 14. Jul 2018  /lib64/liborcus-mso-0.13.so.0.0.0
lrwxrwxrwx. 1 root root      29 14. Jul 2018  /lib64/liborcus-parser-0.13.so.0 -> liborcus-parser-0.13.so.0.0.0
-rwxr-xr-x. 1 root root  270568 14. Jul 2018  /lib64/liborcus-parser-0.13.so.0.0.0

The Java message is not important, can be fixed after your LibreOffice instance is running.

edit flag offensive delete link more

Comments

Nice, one step further, I reinstalled liborcus and then I needed to reinstall libeot

dnf reinstall liborcus libeot

But I still get the javaldx error.

libreoffice -v 
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
LibreOffice 6.0.7.3.0 00(Build:3)

I've reinstalled all Java and all libreoffice applications

dnf reinstall *java*
dnf reinstall *libreoffice*
dnf reinstall *openjdk*

But I still get the same error

Kamaluk gravatar imageKamaluk ( 2019-03-29 08:50:14 +0100 )edit

But the Java message didn't prevent Libreoffiice from starting" (as said in my answer, this can be fixed later)? To do so - go to Tools -> Options -> LibreOffice -> Advanced and configure your preferred JRE (I'm pretty sure you have more than one to select),

Opaque gravatar imageOpaque ( 2019-03-29 11:04:44 +0100 )edit

Well the problem is: it does prevent libreoffice from opening. I can’t access the tools

Kamaluk gravatar imageKamaluk ( 2019-03-29 13:54:08 +0100 )edit

No - the Warning (!!!) javaldx: Could not find a Java Runtime Environment! cannot be the problem for LibreOffice not starting. There must be another issue. I saw that very, very often and it never prevented LO to start.

Opaque gravatar imageOpaque ( 2019-03-29 15:49:13 +0100 )edit

Well, ok! So what do I do next?

Kamaluk gravatar imageKamaluk ( 2019-04-02 17:06:50 +0100 )edit

Hello - Have you ever tried to reset your user profile ( by deleteting ~/.config/libreoffice/4/ after having created a backup of the directory) ?

Opaque gravatar imageOpaque ( 2019-04-03 09:46:57 +0100 )edit

I have just tested on my Fedora (which is 29) system installing LibreOffice using dnf install libreoffice and this installs LibreOffice

Version: 6.1.5.2
Build ID: 6.1.5.2-4.fc29
CPU threads: 4; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: group threaded

ans it runs without any problems

Opaque gravatar imageOpaque ( 2019-04-03 09:50:14 +0100 )edit

I've deleted the config and reinstalled libreoffice. Still doesn't work...

Kamaluk gravatar imageKamaluk ( 2019-04-03 10:41:03 +0100 )edit

This sounds really strange and makes me ask as some strange sounding questions.

  1. How do you access your Linux / Fedora system?
  2. What does rpm -qa | grep -i libreoffice tell
  3. Which desktop are you using (KDE, GNOME, LXDE ... to name a few)
  4. What does libreoffice --version tell
  5. Finally you may try a strace libreoffice 2>&1 | tee -a /tmp/LibreOffice.strace and upload the file /tmp/LibreOffice.strace to your question. This step may require a dnf install strace in advance and to change the file /tmp/LibreOffice.strace to a fake extension /tmp/LibreOffice.odt, since this site does only allow certain extensions for files to be uploaded.
Opaque gravatar imageOpaque ( 2019-04-03 11:08:08 +0100 )edit

Ah - added the information in another comment - and uploaded the file

Kamaluk gravatar imageKamaluk ( 2019-04-04 10:41:49 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-03-28 22:40:57 +0100

Seen: 426 times

Last updated: Jun 04