Score:1

Libreoffice error: libicui18n.so.63: cannot open shared object file

hu flag

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
N0rbert avatar
zw flag
Please add output of `apt-cache policy libreoffice` to the question. FYI 20.04 LTS is shipped [with 6.4.7](https://packages.ubuntu.com/focal-updates/libreoffice), 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?
hu flag
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.
Score:1
hu flag

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
Organic Marble avatar
us flag
Don't put SOLVED in the question title here, please. Mark your answer as solved instead.
hu flag
Thanks @OrganicMarble. Seems it has been done already.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.