Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295005 - media-plugins/alsaequal-0.4: no sound (plugin not loading under gstreamer)
Summary: media-plugins/alsaequal-0.4: no sound (plugin not loading under gstreamer)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-28 21:34 UTC by Sebastian M
Modified: 2010-05-15 18:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
asoundrc (.asoundrc,307 bytes, text/plain)
2009-11-28 21:37 UTC, Sebastian M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian M 2009-11-28 21:34:28 UTC
Various GNOME apps refuse to play sounds when configured to use the ALSA plugin provided by media-plugins/alsaequal-0.4.
While vlc, gnome-mplayer and alsaplayer work fine, GNOME system sounds are not played, and rhythmbox remains silent.

The following message is printed repeatedly to xsession-errors / standard error:
ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_equal.so


Reproducible: Always

Steps to Reproduce:
1. Install and setup alsaequal. I've attached a sample .asoundrc file.
2. Make sure alsaplayer works; its sound output should be affected by changes to equalizer levels ("alsamixer -D equal").
3a. Run rhythmbox and try to play music.
3b. Alternatively, do some actions that should trigger system sounds, e.g. opening the GNOME menu, closing a window or logging on/off.
Actual Results:  
In step 3, no sound at all.

Expected Results:  
Make some noise.

The Makefile of media-plugins/alsaequal-0.4 has to be patched:

< LDFLAGS := -O2 -Wall -shared
---
> LDFLAGS := -O2 -Wall -shared -lasound

This has fixed the problem for me. Gentoo rocks!

=================================================================
Portage 2.2_rc52 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9-halcyon i686)
=================================================================
System uname: Linux-2.6.28-hardened-r9-halcyon-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 27 Nov 2009 20:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/pm-utils/bin/pm-action"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US de en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp-portage"
PORTDIR="/var/db/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amr apache2 avahi berkdb bluetooth branding bzip2 cairo caps cdr cgi chroot cjk cli consolekit cracklib crypt ctype cups curl cvs dbus dri dts dvb dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox flac fontconfig fortran ftp gcj gd gdbm geoip gif glitz gnome gnome-keyring gphoto2 gstreamer gtk hal iconv idea idn ieee1394 imagemagick imap ipod ipv6 java java5 java6 jpeg kerberos lame latex libnotify lirc lm_sensors lua mad memlimit midi mikmod mmx mng modules mp3 mp4 mpeg mudflap musepack mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime raw rdesktop readline reflection samba session slp spell spl sqlite3 sse ssl startup-notification subversion svg sysfs syslog taglib tcpd theora thunar tiff truetype unicode usb v4l v4l2 vcd vhosts vim-syntax vnc vorbis wifi win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xinerama xinetd xml xorg xosd xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LINGUAS="en_US de en_GB" LIRC_DEVICES="ttusbir" USERLAND="GNU" VIDEO_CARDS="intel v4l" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sebastian M 2009-11-28 21:37:35 UTC
Created attachment 211487 [details]
asoundrc
Comment 2 Ondrej Filip 2010-05-08 15:27:28 UTC
Ebuild was posted here #318927.
Comment 3 Ondrej Filip 2010-05-08 15:33:33 UTC
(In reply to comment #2)
> Ebuild was posted here #318927.
>
Damn it -- ebuild for 0.6 in bug 318927 also adds -lasound as proposed in bug 309881
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-05-15 18:00:57 UTC
+  15 May 2010; Samuli Suominen <ssuominen@gentoo.org> alsaequal-0.6.ebuild,
+  +files/alsaequal-0.6-asneeded.patch:
+  Link to -lasound and put objs before libs for -Wl,--as-needed wrt #295005
+  by Sebastian M.