libreoffice crash, undefined symbol: hb_graphite2_face_get_gr_face

Bug #1981351 reported by Yash Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Libreoffice doesn't open or work

launching from terminal errors out with following error:
/usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libreoffice/program/libmergedlo.so: undefined symbol: hb_graphite2_face_get_gr_face

A quick google search gave solution to remove /usr/local/lib/x86_64-linux-gnu/libharfbuzz.so.0, which works although temporarily
the package "libharfbuzz0b" reinstalls this lib and it causes same error again

Also the package libharfbuzz0b is used by other packages so cant be removed from apt directly, leading to no permanent solution to this problem

Info about the libreoffice and libharfbuzz0b packages -

```
apt list libreoffice -a
Listing... Done
libreoffice/jammy-updates,now 1:7.3.4-0ubuntu0.22.04.1 amd64 [installed]
libreoffice/jammy 1:7.3.2-0ubuntu2 amd64
```

```
apt list libharfbuzz0b -a
Listing... Done
libharfbuzz0b/jammy,now 2.7.4-1ubuntu3 amd64 [installed,automatic]
libharfbuzz0b/jammy 2.7.4-1ubuntu3 i386
```

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libreoffice 1:7.3.4-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 11 23:31:01 2022
InstallationDate: Installed on 2020-08-06 (704 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
SourcePackage: libreoffice
UpgradeStatus: Upgraded to jammy on 2022-04-24 (78 days ago)

Revision history for this message
Yash Patil (androygaming) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What's the output of

$ ldd -r /usr/lib/libreoffice/program/libmergedlo.so

?

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
Yash Patil (androygaming) wrote (last edit ):

Hi @seb128
the output of the command is attached to this post. Let me know if you need something else

Meanwhile I tried reinstalling libreoffice libreoffice-core libreoffice-common packages with apt but no help, didnt solve the issue

Revision history for this message
Yash Patil (androygaming) wrote :

So it looks like the issue was with the manual harfbuzz installation I did with building one of the projects some time ago. I removed all the files that had harfbuzz in name from /usr/local and everything seems to be working fine now

Changed in libreoffice (Ubuntu):
status: Incomplete → Fix Released
Changed in libreoffice (Ubuntu):
status: Fix Released → Invalid
Revision history for this message
Michael Motes (michaelmotes) wrote :

Reconfigure HarfBuzz src with `./configure --with-graphite2` (and make install) to fix the error.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.