I have this problem for several weeks now. same problem with libdv (http://bugs.gentoo.org/show_bug.cgi?id=33748) Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge libmpeg2 3. Actual Results: make[2]: Entering directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/include' make[2]: Leaving directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/include' make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/include' Making all in libmpeg2 make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2' Making all in libvo make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/libvo' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/libvo' Making all in doc make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc' /bin/sh ../libtool --mode=link gcc -Wall -fomit-frame-pointer -mcpu=pentiumpro -march=pentium3 -Os -pipe -fomit-frame-pointer -o sample2 sample2.o .. /libmpeg2/libmpeg2.la ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread libtool: link: cannot find the library `' make[1]: *** [sample2] Error 1 make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3. 2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libmpeg2-0.3.2_pre20030625 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! (no error message) Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer" DISTDIR="/home/gentoo/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 encode foomaticdb gif jpeg libg++ mad mikmod nls pdflib xmms xv gdbm berkdb slang readline bonobo tcltk guile ruby sdl gpm tcpd pam libwww ssl perl esd imlib gtk motif X opengl mysql apache2 mod_php mod_ssl php java kde gtk2 gnome qt alsa arts 3dnow cdr cups crypt apm avi dvd icc junit mozilla mmx mpeg ncurses oggvorbis oss png python quicktime spell sse svga truetype tetex usb zlib samba prebuilt xml xml2 mbox"
chances are your bug 33748 are the same problem please try to track down the .la file that is causing this on your system
what version of libtool do you have ? post the libmpeg2.la file found somewhere in /var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/
I have sys-devel/libtool-1.4.3-r3 in /var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2/libmpeg2.la I have: libmpeg2.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.111 2002/10/23 02:54:36) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libmpeg2.so.0' # Names of this library. library_names='libmpeg2.so.0.0.0 libmpeg2.so.0 libmpeg2.so' # The name of the static archive. old_library='libmpeg2.a' # Libraries that this one depends upon. dependency_libs=' ' # Version information for libmpeg2. current=0 age=0 revision=0 # Is this an already installed library? installed=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib'
USE=-sdl emerge libdv USE=-sdl emerge libmpeg2 this solves my problem, I had it with this 2 ebuilds see http://bugs.gentoo.org/show_bug.cgi?id=33748
check bug 33742. Different program, same solution. Just adjust the parh/filenames to suit.
have you ever had kde-cvs emerged ?
Yes, now I have the first beta (non kde-cvs ebuild)
please re-emerge libsdl and then see if these packages compile again
No, same compile errors for both packages.
try USE="-arts" emerge libsdl emerge libmpeg2
USE="-arts" emerge libsdl libmpeg2 libdv works
update to libsdl-1.2.6-r3