#1130655 fails to start without libgl1

Package:
supertuxkart
Source:
supertuxkart
Description:
3D arcade racer with a variety of characters, tracks, and modes to play
Submitter:
Dmitry Baryshkov
Date:
2026-03-14 10:27:02 UTC
Severity:
normal
#1130655#5
Date:
2026-03-13 20:59:10 UTC
From:
To:
supertuxkart doesn't have a dependency on the libgl1 package, because it
is not linked to it. However it tries to dlopen(libGL.so.1) at runtime
and fails to start if the library is not available. Please add a runtime
dependency from supertuxkart to libgl1 package.

#1130655#10
Date:
2026-03-14 10:24:36 UTC
From:
To:
One good way to achieve this would be to add a dlopen note
<https://uapi-group.org/specifications/specs/elf_dlopen_metadata/>, and
build-depend on dh-dlopenlibdeps to turn that into a substvar
${dlopen:Depends}. That way, library transitions that rename packages
(like the t64 transition) won't break a hard-coded dependency.

SDL 3 has macros to create dlopen notes, but this is a SDL 2 game. The
macros from SDL 3 could probably be copy/pasted, or there is an
extremely permissively-licensed implementation in src:package-notes.

     smcv