I receive the following error while trying to emerge libdv. then mv -f ".deps/oss.Tpo" ".deps/oss.Po"; \ else rm -f ".deps/oss.Tpo"; exit 1; \ fi /bin/sh ../libtool --silent --mode=link gcc -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -o playdv playdv.o display.o oss.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXv ../libdv/libdv.la -lpopt -lm libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive make[2]: *** [playdv] Error 1 make[2]: Leaving directory `/var/tmp/portage/libdv-0.101/work/libdv-0.101/playdv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libdv-0.101/work/libdv-0.101' make: *** [all] Error 2 !!! ERROR: media-libs/libdv-0.101 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! compile problem Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.2 2-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/ dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/c onfig/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.noved.org/ http://gentoo.chem.wisc.edu/gentoo/ htt p://gentoo.seren.com/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncur ses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sd l slang spell ssl svga tcpd tetex truetype video_cards_matrox x86 xml2 xmms xv z lib"
I got this problem too, and from the output I reckoned it needed gtk+-1.2 (which I thought was still on my system). Try going into /usr/portage/x11-libs/gtk+ and running emerge gtk+-1.2.10-r11.ebuild Solved the libdv compile fail here.
It didn't work with -r10?
Max I didn't try r10. I just went into the GTK+ portage directory and oneshot'ed the latest one. Worked fine. You could try r10 and report back. Also noticed libtool got updated last night, maybe that fixes the problem.
I had the same problem. Johns idea worked for me as well.
closing