While building vorbis-tools, I got the following error: ------------------------------------------------------ checking for Ogg... yes checking for Vorbis... no *** Could not run Vorbis test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means Vorbis was incorrectly installed *** or that you have moved Vorbis since it was installed. configure: error: Vorbis needed! !!! ERROR: media-sound/vorbis-tools-1.0-r1 failed. !!! Function econf, Line 262, Exitcode 1 !!! econf failed ------------------------------------------------------ I have the following versions of the dependencies installed: media-libs/libvorbis-1.0-r1 * media-libs/libogg-1.0 * media-libs/libao-0.8.3 * net-ftp/curl-7.10.2 * I checked the config.log and found: ------------------------------------------------------ configure:7539: checking for Vorbis configure:7569: gcc -o conftest -O20 -ffast-math -fsigned-char -march=athlon-tbird -O3 -pipe -mmmx -m3dnow -momit-leaf-frame-pointer -I/usr/include -I/usr/include conftest.c -L/usr/lib -lvorbis -lm -L/usr/lib -logg 1>&5 /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_write_boolean' /usr/lib/libvorbis.so: undefined reference to `xmms_usleep' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_read_boolean' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_read_string' /usr/lib/libvorbis.so: undefined reference to `xmms_get_titlestring' /usr/lib/libvorbis.so: undefined reference to `xmms_titlestring_descriptions' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_free' /usr/lib/libvorbis.so: undefined reference to `xmms_show_message' /usr/lib/libvorbis.so: undefined reference to `xmms_create_dir_browser' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_remove_key' /usr/lib/libvorbis.so: undefined reference to `xmms_get_gentitle_format' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_write_int' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_write_string' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_new' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_write_file' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_open_file' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_read_int' /usr/lib/libvorbis.so: undefined reference to `xmms_cfg_open_default_file' collect2: ld returned 1 exit status configure: failed program was: #line 7553 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <vorbis/codec.h> int main () { system("touch conf.vorbistest"); return 0; } ------------------------------------------------------ I did "ldd" on the libvorbis.so: ------------------------------------------------------ $ ldd /usr/lib/libvorbis.so libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40019000) libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40174000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401ad000) libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x401b0000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b3000) libpthread.so.0 => /lib/libpthread.so.0 (0x401d8000) libdl.so.2 => /lib/libdl.so.2 (0x40228000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4022c000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40234000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40244000) libm.so.6 => /lib/libm.so.6 (0x40323000) libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x40345000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4034c000) libogg.so.0 => /usr/lib/libogg.so.0 (0x4036d000) libc.so.6 => /lib/libc.so.6 (0x40371000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) ------------------------------------------------------ "objdump -T /usr/lib/libvorbis.so" confirms that there are indeed undefined (external) references to xmms_* functions. Furthermore, the "dependency_libs" in /usr/lib/libvorbis.la is (in case it would be of any help to you): ------------------------------------------------------ # Libraries that this one depends upon. dependency_libs=' -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgtk.la -lm /usr/lib/libgdk.la /usr/lib/libgmodule.la /usr/lib/libgthread.la -lpthread /usr/lib/libglib.la -ldl -lXi -lXext -lX11 /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la /usr/lib/libogg.la' ------------------------------------------------------ Should I investigate further? Any ideas on what I should do to fix this? Do you need some more info perhaps?
please paste #emerge info
Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-gentoo-r1-1 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://ftp.tu-clausthal.de/pub/linux/gentoo/" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/home/xkr47/portage" USE="x86 3dnow apm avi crypt cups encode gif jpeg gnome mikmod mmx ncurses nls pdflib png qt quicktime spell truetype xml2 xmms xv gdbm berkdb slang readline X sdl gpm pam libwww ssl python imlib oggvorbis gtk motif opengl -arts dga doc dvd gd gphoto2 gtk2 gtkhtml imap -java -kde lcms ldap lm_sensors -matrox mpeg mysql nas oss pda perl pic plotutils ruby samba -sse svga -tcpd tetex tiff usb zlib -aalib -alsa -bonobo -directfb -esd -ggi -guile -libg++ -mozilla -postgres -scanner -snmp -tcltk ungif freetype" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -mmmx -m3dnow -momit-leaf-frame-pointer" CXXFLAGS="-march=athlon-tbird -O3 -pipe -mmmx -m3dnow -momit-leaf-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="no" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="sandbox distcc ccache"
try to turn down your compiler flags
Don't know what happened, but now the libvorbis.so doesn't anymore have external references to libxmms. According to the logs, libvorbis was updated from 1.0-r1 to 1.0-r2 (by a "emerge -u world") after I reported the bug, so that might have fixed it.
This error looks like the result of the (now resolved) einstall problems with xmms. (see Bug #16599 and #17363) On my machine: # grep xmms_cfg_write_boolean /usr/lib/xmms/Input/libvorbis.so Binary file /usr/lib/xmms/Input/libvorbis.so matches #qpkg -f /usr/lib/xmms/Input/libvorbis.so media-sound/xmms * # ldd /usr/lib/xmms/Input/libvorbis.so libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40021000) libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x4017a000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401b3000) libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x401b6000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b9000) libpthread.so.0 => /lib/libpthread.so.0 (0x401dd000) libdl.so.2 => /lib/libdl.so.2 (0x4022c000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40230000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40238000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40248000) libm.so.6 => /lib/libm.so.6 (0x4032a000) libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x4034c000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40353000) libogg.so.0 => /usr/lib/libogg.so.0 (0x40374000) libc.so.6 => /lib/libc.so.6 (0x40378000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) # ldd /usr/lib/libvorbis.so libm.so.6 => /lib/libm.so.6 (0x40031000) libogg.so.0 => /usr/lib/libogg.so.0 (0x40054000) libc.so.6 => /lib/libc.so.6 (0x40058000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Maybe we can close this? :)
I'm trying to reduce the number of packages I maintain. Punting back to bug-wranglers.
Please reopen if it's still a valid issue.