Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On 25.02.19 15:32, Alex Kempshall wrote:
On 25/02/2019 14:17, Michael Stahl wrote:
On 25.02.19 14:52, Alex Kempshall wrote:
On 25/02/2019 12:28, Michael Stahl wrote:
On 25.02.19 12:10, Alex Kempshall wrote:
The error I get is

/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'

S=/tmp/build/tmp-libreoffice/libreoffice-6.2.0.3 && I=$S/instdir && W=$S/workdir &&  /usr/bin/ccache g++ -shared -Wl,-z,noexecstack -Wl,-z,origin '-Wl,-rpath,$ORIGIN' -Wl,-rpath-link,$I/program -Wl,-z,defs -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program -L$I/program -Wl,-rpath,/usr/lib64/libreoffice/program/ -L/usr/lib64

^ this -L/usr/lib64 is your problem; it is pointless (because that is in the default search path anyway) and harmful (because it overrides the -L$W/UnpackedTarball/harfbuzz/src/.libs that comes later:

$W/CxxObject/vcl/opengl/x11/X11DeviceInfo.o -Wl,--start-group $W/LinkTarget/StaticLibrary/libgraphite.a -L$W/UnpackedTarball/libjpeg-turbo/.libs -ljpeg $W/UnpackedTarball/libeot/.libs/libeot.a  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -L$W/UnpackedTarball/harfbuzz/src/.libs -lharfbuzz -lharfbuzz-icu -licuuc -licuuc -L$W/UnpackedTarball/lcms2/src/.libs -llcms2 -lcairo -lcups -ldbus-1  -lfontconfig -lfreetype -lfreetype -lm -ldl -lpthread -lX11 -lXext  -Wl,--end-group -Wl,--no-as-needed -lpdfiumlo -lsvllo -ltllo -lutllo -lsotlo -lucbhelper -lbasegfxlo -lcomphelper -luno_cppuhelpergcc3 -li18nlangtag -li18nutil -lopencllo -luno_cppu -luno_sal -luno_salhelpergcc3 -lxmlreaderlo -ljvmaccesslo -lepoxy  -o $I/program/libvcllo.so

now the question is where does that come from, try:
 "grep /lib64[^/] config_host.mk"

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.