Bug#882378: alsaequal: change order of link flags to ensure libasound is linked to .so files
sed at free.fr
Tue Nov 21 22:44:53 UTC 2017
Tags: patch upstream
the $(LDFLAGS) in the Makefile, containing -lasound, should come after
the .o objects in the final linking to be sure it is linked against
the .so (the libasound is present in the ELF tables/things/whatever).
Actually, with my current version of Debian (testing), this is not a
problem, but for a popular 'derivative distribution', it is. When using
the equalizer with PulseAudio (my fingers almost burned while typing
this!), this beast cannot load the .so because it is not linked to
So I don't know if it's the right place for a bug report, but I have to
do it somewhere. The upstream (www.thedigitalmachine.net) does not exist
anymore, and I don't feel like I want to be in more contact with the
The patch is very simple. Edit Makefile and put $(LDFLAGS) at the end
of the two lines where it is used.
I apalogize by advance if this is the wrong place to report the bug
(which is non-existing in my current Debian setup). But I struggled
a lot with it because of another bug in alsa-lib (they don't use
dlerror when loading a library so we don't see why it fails).
Anyway, there it is. Have a nice day!
By the way, it's all the fault of people from Mozilla who seem to have
decided that talking to ALSA was too... something, and now only use
the P..A.. beast (my fingers don't need more pain today). This world
is a strange place.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.5-custom (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
< $(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN)
> $(Q)$(LD) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) $(LDFLAGS)
< $(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN)
> $(Q)$(LD) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) $(LDFLAGS)
More information about the pkg-multimedia-maintainers