Bug#882378: alsaequal: change order of link flags to ensure libasound is linked to .so files

Cédric Roux sed at free.fr
Tue Nov 21 22:44:53 UTC 2017

Source: alsaequal
Severity: normal
Tags: patch upstream

Dear Maintainer,

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
'derivative distribution'.

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)

*** patch.txt

More information about the pkg-multimedia-maintainers mailing list