I did an "emerge amarok" which lead to the building of xmms. At some point, the build failed. A warning talking about some dlopen issues are succeded by linking errors against libdl. Messages follow: i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -Wall -Wpointer-arith -finline-functions -fomit-frame-pointer -ffast-math -funroll-all-loops -o .libs/xmms bmp.o skin.o util.o output.o fft.o input.o effect.o general.o visualization.o fullscreen.o pluginenum.o playlist.o controlsocket.o dock.o widget.o sbutton.o pbutton.o tbutton.o textbox.o menurow.o hslider.o monostereo.o vis.o svis.o number.o playstatus.o playlist_list.o playlist_slider.o playlist_popup.o eq_graph.o eq_slider.o main.o skinwin.o prefswin.o playlistwin.o equalizer.o hints.o about.o sm.o getopt.o getopt1.o urldecode.o mkdtemp.o -rdynamic -Wl,--export-dynamic -L/usr/lib -lSM -lICE -lXxf86vm ../libxmms/.libs/libxmms.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libgthread.so /usr/lib/libglib.so -ldl -lpthread -lXi -lXext -lX11 -lm -lssl pluginenum.o: In function `add_plugin': pluginenum.c:(.text+0x1c9): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libdl.a(dlopen.o): In function `dlopen': dlopen.c:(.text+0x1b): undefined reference to `__dlopen' /usr/lib/libdl.a(dlclose.o): In function `dlclose': dlclose.c:(.text+0x5): undefined reference to `__dlclose' /usr/lib/libdl.a(dlsym.o): In function `dlsym': dlsym.c:(.text+0x1b): undefined reference to `__dlsym' /usr/lib/libdl.a(dlerror.o): In function `dlerror': dlerror.c:(.text+0x5): undefined reference to `__dlerror' collect2: ld returned 1 exit status make[4]: *** [xmms] Error 1 make[4]: Leaving directory `/mnt/dev/sda5/var/tmp/portage/xmms-1.2.10-r15/work/xmms-1.2.10/xmms' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/dev/sda5/var/tmp/portage/xmms-1.2.10-r15/work/xmms-1.2.10/xmms' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/dev/sda5/var/tmp/portage/xmms-1.2.10-r15/work/xmms-1.2.10/xmms' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/dev/sda5/var/tmp/portage/xmms-1.2.10-r15/work/xmms-1.2.10' make: *** [all] Error 2 !!! ERROR: media-sound/xmms-1.2.10-r15 failed. !!! Function src_compile, Line 113, Exitcode 2 !!! (no error message) The output of emerge info is: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r7 i686) ================================================================= System uname: 2.6.12-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre3 ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="nn en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm arts audiofile avi berkdb bitmap-fonts cdr crypt cups curl debug dvd eds emboss encode fam foomaticdb fortran gdbm gif gpm gstreamer gtk2 icq ieee1394 imap imlib ipv6 jabber java jpeg kde kdexdeltas libg++ libwww mad mikmod mmx motif mp3 mpeg msn ncurses nls offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pdflib perl png python qt quicktime readline ruby samba sdl spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xml2 xmms xv zlib linguas_nn linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Ok, I got it working. It turned out that the libdl.so symlink in /usr/lib was missing. I just created it and things started to work again. Possibly this is a bug somewhere else (glibc installation?), but it isn't a xmms bug.