Bug#774717: libsdl2-mixer-dev: examples/Makefile has -lSDL_mixer not -lSDL2_mixer
Riku Saikkonen
rjs at netti.fi
Tue Jan 6 18:50:18 UTC 2015
Package: libsdl2-mixer-dev
Version: 2.0.0+dfsg1-5
/usr/share/doc/libsdl2-mixer-dev/examples/Makefile contains:
LIBS = $(shell sdl2-config --libs) -lSDL_mixer
which links the examples with SDL version 2 but SDL_mixer version 1! As
the package provides libSDL2_mixer.so and not libSDL_mixer.so, this
should clearly be:
LIBS = $(shell sdl2-config --libs) -lSDL2_mixer
Annoyingly, the playmus example program compiles and links fine with the
old SDL_mixer library, but creates strange error messages like "Couldn't
read from RWops" (depending on the music file type) when run.
More information about the Pkg-sdl-maintainers
mailing list