Compiling LO get undefined reference to `hb_graphite2_face_get_gr_face'

Alex Kempshall mcmurchy1917-libreoffice at
Mon Feb 25 11:10:54 UTC 2019

I'm  having problems compiling from the downloads


The error I get is

> [build CXX] svx/source/accessibility/ChildrenManager.cxx
> [build CXX] svx/source/accessibility/ChildrenManagerImpl.cxx
> [build CXX] svx/source/accessibility/DescriptionGenerator.cxx
> [build CXX] svx/source/accessibility/GraphCtlAccessibleContext.cxx
> /tmp/build/tmp-libreoffice/libreoffice- 
> In function `vcl::font::FeatureCollector::collectGraphite()':
> FeatureCollector.cxx:(.text+0x34): undefined reference to 
> `hb_graphite2_face_get_gr_face'
> /tmp/build/tmp-libreoffice/libreoffice- 
> In function `vcl::font::FeatureCollector::collect()':
> FeatureCollector.cxx:(.text+0xadb): undefined reference to 
> `hb_graphite2_face_get_gr_face'
> collect2: error: ld returned 1 exit status
> /tmp/build/tmp-libreoffice/libreoffice- 
> recipe for target 
> '/tmp/build/tmp-libreoffice/libreoffice-' 
> failed
> make[1]: *** 
> [/tmp/build/tmp-libreoffice/libreoffice-] 
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> Makefile:286: recipe for target 'build' failed
> make: *** [build] Error 2

I've come across this problem before and it went away somehow, not even 
sure if it was with LO. Inspecting my system I'd downloaded 
harfbuzz-1.8.8.tar.bz2 back in August 2018 and was comparing this with 
harfbuzz-1.8.4.tar.bz2. Can't remember what conclusion I came to! I 
firmly believe I don't use harfbuzz-1.8.8.tar.bz2 anywhere.

On my system I have harfbuzz-1.2.7-x86_64-1. However, I'm using the 
flags --with-system-icu and --without-system-harfbuzz which to me means 
I should be using the package

What am I doing wrong or what point have I missed?


More information about the LibreOffice mailing list