lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build problem with binutils 2.3.2 / gcc 8.3.1: "DSO missing from com


From: Knut Petersen
Subject: Re: Build problem with binutils 2.3.2 / gcc 8.3.1: "DSO missing from command line"
Date: Sun, 2 Jun 2019 09:23:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Werner!
I added libgobject-2.0 to LIBS: "export LIBS='-lglib-2.0
-lgobject-2.0'", and after that building the lilypond executable
succeeded again.
Hmm.  LilyPond doesn't explicitly test for glib; it relies on
PANGO_FT2_LIBS, which should always add those two libraries for
building the `lilypond' binary.  For example, I see the following in
my `config.log' file:

   configure:9658: checking PANGO_FT2_LIBS
   configure:9661: result: -L/usr/local/lib64 -lpangoft2-1.0 \
                           -lpango-1.0 -lgobject-2.0 -lglib-2.0 \
                           -lfontconfig -lfreetype

Why is this not sufficient on your system?

configure has:

   $as_echo_n "checking PANGO_FT2_LIBS... " >&6; }
                PANGO_FT2_LIBS=`$PKG_CONFIG --libs "pangoft2 >= 1.38.0"`
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_FT2_LIBS" 
>&5
   $as_echo "$PANGO_FT2_LIBS" >&6; }


pkg-config --libs "pangoft2 >= 1.38.0" gives

   -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype

and pkg-config --cflags "pangoft2 >= 1.38.0" gives

   -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz 
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2


Weird. Look at /usr/lib64/pkgconfig/pangoft2.pc:

   prefix=/usr
   libdir=${prefix}/lib64
   includedir=${prefix}/include

   Name: Pango FT2 and Pango Fc
   Description: Freetype 2.0 and fontconfig font support for Pango
   Version: 1.43.0
   Requires: pango, freetype2, fontconfig >=  2.11.91
   Requires.private: glib-2.0 >=  2.38.0, gobject-2.0 >=  2.38.0, fribidi >=  0.19.7, 
libthai >=  0.1.9, harfbuzz >=  1.4.2, xrender, xft >=  2.0.0, cairo >= 1.12.10
   Libs: -L${libdir} -lpangoft2-1.0

Is there a difference to the pangoft2.pc on your system?

Knut




reply via email to

[Prev in Thread] Current Thread [Next in Thread]