"emerge gal" fails with this error: /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -O3 -march=pentium4 -fomit-frame-pointer -pipe -Wall -Wunused -D_REENTRANT -o test-color test-color.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnomecanvaspixbuf ../../gal/widgets/libwidgets.la ../../gal/util/libutil.la libtool: link: cannot find the library `/usr/lib/libesd.la' make[3]: *** [test-color] Fel 1 make[3]: Leaving directory `/portage_tmpdir/portage/gal-0.24/work/gal-0.24/gal/widgets' It worked after "emerge esound", so it seems like esound is a dependency of gal. But emerge should install dependencies automatically. merge --info: Portage 2.1.1_rc1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.4 Last Sync: Mon, 28 Aug 2006 16:59:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="swedish" LINGUAS="sv de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/portage_tmpdir" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib acl ada alsa apache2 apm arts artworkextra athena audiofile authdaemond avi bash-completion berkdb bitmap-fonts bonobo canna cdda cddb cdio cdparanoia cli crypt css cups curl dga dhcp directfb divx4linux dlloader dnd doc dri dts dvb dvd dvdread eds elibc_glibc emacs emboss encode expat fam fame fbcon ffmpeg firebird firefox flac foomaticdb fortran freetype freewnn gcj gdbm ggi gif gimpprint gmp gnome gnutls gpm gtk gtk2 guile hal howl httpd i8x0 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack javascript jpeg jpeg2k kde kdeenablefinal kerberos kernel_linux krb4 lcms ldap leim lesstif libcaca libg++ libsamplerate libwww linguas_de linguas_sv live lzo mad matroska mikmod mjpeg mmx mng mp3 mpeg mule musepack musicbrainz mysql ncurses neXt network nls nsplugin odbc ogg oggvorbis openexr opengl pam pcmcia pcre pdflib perl php physfs png portaudio postgres povray pppd python qt3 qt4 quicktime quotas readline reflection ruby samba sasl sdl session slp sndfile speex spell spl sql sse sse2 ssl stream subversion svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales v4l vcd vda video_cards_radeon vlm vorbis wifi wmf wxwindows xanim xface xine xinerama xml xml2 xmms xorg xosd xv xvid xvmc zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This doesn't depend on esound at all. Unmerge it again and run revdep-rebuild.
Seems to work after revdep-rebuild, thank you!