2.26.0 fails to build on opensuse leap 16.0

Terence Waterhouse via Discussions on LilyPond development <[email protected]> Wed, 13 May 2026 18:57:35 +0200
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <[email protected]>
Hello everyone !

I have been on the list for some time and have learnt a lot from all of 
you, so I haven't as yet had to ask for any special help, especially as 
everyone has a very heavy workload. At present, however, I am trying to 
build 2.26.0 on the very latest version of openSuse leap 16.0 using a 
KDE desktop and after almost a week of searching and recompiling I 
simply cannot resolve what seems to be a banal error. Everything goes 
fine with no problems until make tries to build the lilypond executable, 
at which point it exits with the messages below:

Making lily/out/lilypond
/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
make[1]: *** 
[/home/pythagoras/Documents/5.DevStudio/1.Applications/ext_sources/Lilypond/lilypond-2.26.0/build/.././lily/GNUmakefile:42: 
out/lilypond] Error 1
make: *** 
[/home/pythagoras/Documents/5.DevStudio/1.Applications/ext_sources/Lilypond/lilypond-2.26.0/build/.././make/generic-targets.make:6: 
all] Error 2

I have already built several 'homebrew' versions and I have run into 
this issue before which I solved by adding the appropriate libraries, 
but here that approach is apparently not enough. I suspect a problem of 
order in the sundry commands and options, but I just cannot discover 
what is going on. Inspection of all the sources gives me no information 
and the references to 2.26.0 on the lists are as yet rare. Remains the 
possibility that a package is missing -- my OS installation is new, and 
I have not used KDE for some time, always Gnome. However, if that is the 
case, I can't find which package is concerned.

If anyone has run across this concern or can help in any way, I would 
very much appreciate it.

Thanks in advance

Terence

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