Bug#1012088: libsdl2-dev is possibly missing dependencies
Simon McVittie
smcv at debian.org
Mon May 30 12:08:24 BST 2022
On Mon, 30 May 2022 at 02:52:27 +0100, Matthew Forrester wrote:
> /usr/bin/ld: cannot find -ldrm: No such file or directory
> /usr/bin/ld: cannot find -lgbm: No such file or directory
> /usr/bin/ld: cannot find -ldecor-0: No such file or directory
Is this software linking to SDL statically? As far as I can see from the
pkg-config file, these are going to be required for static linking but not
for the more typical dynamic linking to shared libraries.
SDL cannot be used in a completely statically-linked executable, because
some of its dependencies are only available as shared libraries, but
SDL itself can be linked statically by some build systems.
(Either way, it's a SDL packaging bug, and I'll add the missing
-dev dependencies in a future upload.)
smcv
More information about the Pkg-sdl-maintainers
mailing list