Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] [Solved] Help with battling alsa-lib versions
Date: Tue, 15 Jul 2008 02:42:19
Message-Id: 20080715024221.GA21636@waltdnes.org
In Reply to: [gentoo-user] Help with battling alsa-lib versions by Walter Dnes
1 On Thu, Jun 12, 2008 at 12:27:40AM -0400, Walter Dnes wrote
2 > If I emerge whichever version of alsa-lib-1.0.16 is current, mplayer,
3 > audacious, and anything else that relies on alsa don't play audio.
4 > However, Realplayer (bleagh) and anything that works off of OSS
5 > emulation still works.
6 >
7 > If i put...
8 > >=media-libs/alsa-lib-1.0.14_rc1-r1
9 >
10 > ...into /etc/portage/package.mask, and emerge the older version of
11 > alsa-lib, the above programs work fine, but alsactl dies like so...
12 >
13 > [m3000][root][~] alsactl store
14 > alsactl: relocation error: alsactl: symbol snd_tlv_parse_dB_info,
15 > version ALSA_0.9 not defined in file libasound.so.2 with link time
16 > reference
17 >
18 > [m3000][root][~] alsactl restore
19 > alsactl: relocation error: alsactl: symbol snd_ctl_get_dB_range, version
20 > ALSA_0.9 not defined in file libasound.so.2 with link time reference
21 >
22 > ...which means that settings can't be saved/restored at shutdown/reboot.
23 > This is a PITA, because I have to manually run alsamixer after each
24 > reboot, and unmute and re-set all the audio settings. This is the
25 > lesser of 2 evils, because no alsa sound is a showstopper. What am I
26 > doing wrong?
27
28 This seems to be a problem only for those of us that start off our USE
29 variables with "-*". After a bunch of Google-searching, I found a
30 similar complaint. Apparently, "-*" wipes out ALSA_PCM_PLUGINS. They
31 recommended fixing it by setting ALSA_PCM_PLUGINS. My /etc/make.conf
32 now contains the following...
33
34 USE="-* X a52 aac bzip2 dga doc dri exif ffmpeg flac gif jpeg mmx mng mp3 mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 theora threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv xvid zlib"
35 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
36
37 This is probably overkill, but at least it works without forcing an
38 older alsa-lib version.
39
40 --
41 Walter Dnes <waltdnes@××××××××.org>
42 --
43 gentoo-user@l.g.o mailing list