When I try to emerge imlib2 it fails to compile with the following error: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make[2]: *** [libImlib2.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/imlib2-1.1.2.20041031/work/imlib2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/imlib2-1.1.2.20041031/work/imlib2' make: *** [all] Error 2 * Please do not contact the E team about bugs in Gentoo. * Only contact vapier@gentoo.org via e-mail or bugzilla. * Remember, this stuff is CVS only code so dont cry when * I break you :). Reproducible: Always Steps to Reproduce: 1.emerge imlib2 2. 3. Actual Results: Emerge failed Expected Results: Compile the program This is my emerge info: Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9 -gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown / usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi beep berkdb bitmap-fonts bootsplash cddb cdr crypt cups divx4linux dvd dvdr encode esd f77 fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvo rbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang sp ell ssl svga tcltk tcpd truetype videos x86 xml2 xmms xv zlib"
see bug 69804
*** This bug has been marked as a duplicate of 69804 ***