1

Got this error after installing libreoffice 7.2.3 in Ubuntu 20.04 using apt:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libicui18n.so.63: cannot open shared object file: No such file or directory.

Here's the output of apt-cache policy libreoffice:

libreoffice:
  Installed: 1:7.2.3~rc2-0ubuntu0.20.04.1~lo1
  Candidate: 1:7.2.3~rc2-0ubuntu0.20.04.1~lo1
  Version table:
 *** 1:7.2.3~rc2-0ubuntu0.20.04.1~lo1 500
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.1.7-0ubuntu0.21.04.1~bpo20.04.1 100
        100 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages
     1:6.4.7-0ubuntu0.20.04.2 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages
     1:6.4.2-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
2
  • Please add output of apt-cache policy libreoffice to the question. FYI 20.04 LTS is shipped with 6.4.7, so you are using some PPA or third-party repository. When the message "/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libicui18n.so.63: cannot open shared object file: No such file or directory." appeared?
    – N0rbert
    Dec 9, 2021 at 5:48
  • You're right about the ppa. I'm not sure what I did for it to get there, since it's been a long time since I had this error.. Thanks @N0rbert.
    – Olivier
    Dec 10, 2021 at 12:45

1 Answer 1

1

The solution (inspired from here) is to insert the following two lines under the comment lines in "/usr/lib/libreoffice/program/soffice" and in "/usr/lib/libreoffice/program/unopkg" to get both libreoffice and Mendeley working.

LD_LIBRARY_PATH="/usr/lib/libreoffice/program:/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
2
  • 1
    Don't put SOLVED in the question title here, please. Mark your answer as solved instead. Dec 9, 2021 at 2:29
  • Thanks @OrganicMarble. Seems it has been done already.
    – Olivier
    Dec 10, 2021 at 12:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .