Bug#1021948: libsdl2-net-dev: dangling symlink libSDL2_net-2.0.so

Andreas Beckmann anbe at debian.org
Fri May 5 16:15:24 BST 2023


On 05/05/2023 16.31, Simon McVittie wrote:
> I don't think this is a RC bug unless other packages are relying on the
> dangling symlink to point to something useful, which it appears they are
> not (see <https://codesearch.debian.net/search?q=SDL2_net-2.0&literal=1>).
> The canonical name of this library for linking purposes is SDL2_net,
> as in `cc -otest test.o -lSDL2_net`, which results in linking to either
> libSDL2_net.so or libSDL2_net.a (and there is no libSDL2_net-2.0.a).
> 
> The libSDL2_net-2.0.so symlink would only be required if someone is
> linking dependent programs or libraries with "-lSDL2_net-2.0", and it
> seems nothing in Debian does that.

Thanks for this analysis showing this is a cruft symlink. Usually a 
broken .so symlink means a missing dependency, missing packaged library 
or renamed target (without updating the link), which are RC, as one 
cannot link to the library (via the intended name).

Andreas



More information about the Pkg-sdl-maintainers mailing list