Re: 2.26.0 fails to build on opensuse leap 16.0

Terence Waterhouse via Discussions on LilyPond development <[email protected]> Thu, 14 May 2026 12:48:01 +0200
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <[email protected]>
Hello Dan !

Having read your interventions, I'm very pleased to have contact and I 
thank you very much for such a prompt reply. Here is the CONFIG_LIBS 
entry from my compile:

CONFIG_LIBS = \
    \
    \
   -lglib-2.0 \
   -lguile-3.0 -lgc -lpthread -ldl \
   -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lharfbuzz -lfreetype 
-lgobject-2.0 -lglib-2.0 \
   -lfontconfig -lfreetype \
   -lfreetype \
   -lcairo \
   -lpng16 \
   -lz

As you can see, I'm missing three libraries after guile-3.0, and the 
pangoft2-1.0 entries are not in the same order. I suspected an order 
problem, but I don't know whether this is it or not. As for the three 
guile entries, I have tried multiple times to inject the garbage 
collector and pthread and libdl, apparently to no avail... I had already 
had the issue with gc issuing this error but for some reason it doesn't 
seem to be recognised here. Importantly, however, your output points me 
in the right direction. I will try to address this shortly and get back 
to you with my results.

Once again, many, many thanks.

Terence

****************************************

Le 13/05/2026 à 23:36, Dan Eble a écrit :

> On 2026-05-13 12:57, Terence Waterhouse via Discussions on LilyPond 
> development wrote:
>> Hello everyone !
>
> Hello, Terence.
>
>> /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ 
>> ld: ./out/smobs.o: undefined reference to symbol 'GC_get_gc_no'
>> /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ 
>> ld: /usr/lib64/libgc.so.1: error adding symbols: DSO missing from 
>> command line
>> collect2: error: ld returned 1 exit status
> My generated config.make has this:
>
> CONFIG_LIBS = \
>    \
>    \
>   -lglib-2.0 \
>   -lguile-3.0 -lgc -lpthread -ldl \
>   -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lharfbuzz -lfreetype 
> -lgobject-2.0 -lglib-2.0 \
>   -lfontconfig -lfreetype \
>   -lfreetype \
>   -lcairo \
>   -lpng16 \
>   -lz