Compiling LO 6.2.0.3 get undefined reference to `hb_graphite2_face_get_gr_face'

Alex Kempshall mcmurchy1917-libreoffice at yahoo.co.uk
Mon Feb 25 11:10:54 UTC 2019


I'm  having problems compiling 6.2.0.3 from the downloads

libreoffice-help-6.2.0.3.tar.xz
libreoffice-dictionaries-6.2.0.3.tar.xz
libreoffice-6.2.0.3.tar.xz
libreoffice-translations-6.2.0.3.tar.xz

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-6.2.0.3/workdir/CxxObject/vcl/source/font/FeatureCollector.o: 
> In function `vcl::font::FeatureCollector::collectGraphite()':
> FeatureCollector.cxx:(.text+0x34): undefined reference to 
> `hb_graphite2_face_get_gr_face'
> /tmp/build/tmp-libreoffice/libreoffice-6.2.0.3/workdir/CxxObject/vcl/source/font/FeatureCollector.o: 
> 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-6.2.0.3/vcl/Library_vcl.mk:20: 
> recipe for target 
> '/tmp/build/tmp-libreoffice/libreoffice-6.2.0.3/instdir/program/libvcllo.so' 
> failed
> make[1]: *** 
> [/tmp/build/tmp-libreoffice/libreoffice-6.2.0.3/instdir/program/libvcllo.so] 
> 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 
https://dev-www.libreoffice.org/src/harfbuzz-1.8.4.tar.bz2.

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

Alex



More information about the LibreOffice mailing list