5

LibreOffice won't launch on Ubuntu 20.04

~$ libreoffice --writer
/usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libreoffice/program/libmergedlo.so: undefined symbol: hb_graphite2_face_get_gr_face

I tried uninstalling according to the instructions here and then reinstalling: How to uninstall LibreOffice?

I have upgraded all of my packages.

How do I proceed with debugging? Do I somehow have the wrong version of libmergedlo.so?

EDIT:

Requested in comments:

~$ ldd /usr/lib/libreoffice/program/libmergedlo.so | grep local
    libboost_locale.so.1.71.0 => /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.71.0 (0x00007fe5591f3000)
    libharfbuzz.so.0 => /usr/local/lib/libharfbuzz.so.0 (0x00007fe558df5000)

Also tried:

  • Removing ~/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
  • Uninstalling, manually removing /usr/lib/libreoffice, reinstalling
  • sudo apt-get install --reinstall libreoffice libreoffice-core
Void Star
  • 172

3 Answers3

5

To reinstall use:

sudo apt-get install --reinstall libreoffice libreoffice-core

You have to remove problematic library with:

sudo rm /usr/local/lib/libharfbuzz.so.0
N0rbert
  • 103,263
0

Try this to remove libreoffice:

sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Download TDF packages from:

https://ftp.nluug.nl/office/libreoffice/libreoffice/stable/7.0.0/deb/x86_64/LibreOffice_7.0.0_Linux_x86-64_deb.tar.gz

https://ftp.nluug.nl/office/libreoffice/libreoffice/stable/7.0.0/deb/x86_64/LibreOffice_7.0.0_Linux_x86-64_deb_helppack_en-GB.tar.gz

https://ftp.nluug.nl/office/libreoffice/libreoffice/stable/7.0.0/deb/x86_64/LibreOffice_7.0.0_Linux_x86-64_deb_langpack_en-GB.tar.gz

Assuming, they are downloaded in /home/user/Downloads

Run to install:

cd ~/Downloads
for x in *.tar.gz; do tar xfv $x; done
sudo dpkg -i LibreOffice_*/DEBS/*.deb
kyodake
  • 17,808
0

I was actually able to bring back LibreOffice by simply removing the 'harfbuzz' (wth is that thing?!), at this point I have seen no negative results of NOT re-installing the LO-core. And it didn't FUBAR the way I have my menu arranged by enforcing the defaults in the 'install' process.

The cmd I used to nuke harfy was the one mentioned in this thread,

'sudo rm /usr/local/lib/libharfbuzz.so.0'

Bruce
  • 1