Ask Your Question

Building LO on Debian stretch fails due to issues with Harfbuzz

asked 2018-01-11 11:28:47 +0200

DarkStar1 gravatar image

updated 2018-01-11 17:45:16 +0200

I have been attempting to build LibreOffice from source on Debian stretch (dist-upgraded from Jessie with no issues whatsoever) on a remote VM. It seems I am having an issue with libharfbuzz-icu as make fails with the following error:

[LNK] Library/
/opt/libreoffice/core/workdir/CxxObject/vcl/source/gdi/CommonSalLayout.o: In function `CommonSalLayout::LayoutText(ImplLayoutArgs&)':
CommonSalLayout.cxx:(.text+0xf85): undefined reference to `hb_icu_script_to_script'
collect2: error: ld returned 1 exit status
/opt/libreoffice/core/vcl/ recipe for target '/opt/libreoffice/core/instdir/program/' failed
make[1]: *** [/opt/libreoffice/core/instdir/program/] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:276: recipe for target 'build' failed

I have search and looked around and it seems this was also an issue that appeared and was resolved 4 years ago (

I need to build a version of LibreOffice for use with LibreOffice Online, but I can't for the moment resolve this blocking issue. I'd appreciate any light shed on the matter.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-01-17 12:42:47 +0200

DarkStar1 gravatar image

Turns out that the dist-upgrade wasn't as successful as I had thought (even though there were no error messages during the process. Once I installed on a new Debian stretch server, the library issue disappeared.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-11 11:28:47 +0200

Seen: 117 times

Last updated: Jan 17 '18