mail-client/thunderbird-bin fails to run if media-libs/alsa-lib is not installed. Reproducible: Always Steps to Reproduce: 1. Ensure alsa-lib is not installed 2. emerge thunderbird-bin (any version) 3. run thunderbird-bin Actual Results: ~> thunderbird-bin /opt/thunderbird/thunderbird-bin: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory Expected Results: thunderbird-bin should open thunderbird. I have a minimal installation of gentoo in a vmware environment. I have also set -alsa in my make.conf and have alsa disabled in kernel. This is how I came to realise that thunderbird-bin depends on libasound on runtime. Only thing that is required is to add media-libs/alsa-lib to the RDEPEND in thunderbird-bin ebuild. One does not need to have alsa enabled in kernel or do anything else to ensure that thunderbird-bin runs fine. My emerge --info: Portage 2.2.0_alpha43 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.2 Timestamp of tree: Mon, 11 Jul 2011 04:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1::sage-on-gentoo, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.25-r2 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo enlightenment sage-on-gentoo myself Installed sets: ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/xsessions" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2" 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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/sage-on-gentoo /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt curl curlwrappers cxx dbus djvu dri fam fontconfig gdbm gdu gif gnutls gpm gtk iconv jpeg lzma mmap mmx mmx2 modules mudflap ncurses nls nptl nptlonly openmp pam pango pcre pdf perl png policykit python readline savedconfig session smp spell sse sse2 ssl ssse3 svg sysfs system-sqlite tcpd threads truetype udev unicode usb vim-syntax x86 xft xinerama xml xorg xpm zlib zsh-completion" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
@mozilla: amd64box ~ # qfile libasound.so.2 app-emulation/emul-linux-x86-soundlibs (/usr/lib32/libasound.so.2) media-libs/alsa-lib (/usr/lib64/libasound.so.2) if there isn't remember emul-linux for amd64 ;)
(In reply to comment #1) > @mozilla: > > amd64box ~ # qfile libasound.so.2 > app-emulation/emul-linux-x86-soundlibs (/usr/lib32/libasound.so.2) > media-libs/alsa-lib (/usr/lib64/libasound.so.2) > > if there isn't remember emul-linux for amd64 ;) The amd64 binary ebuild uses native 64-bit now. I've added the alsa-lib dependency, just like firefox-bin. Thanks for reporting!