While trying to emerge superkaramba the process fails. Linking problem occurs with libbz2. This problem occurs with both version (stable und unstable) version of superkaramba. Reproducible: Always Steps to Reproduce: 1. emerge superkaramba 2. 3. Actual Results: Here is the output of the command : Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34' Making all in doc make[2]: Entering directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc' Making all in . make[3]: Entering directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc' Making all in en make[3]: Entering directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc/en' /usr/kde/3.4/bin/meinproc --check --cache index.cache.bz2 ./index.docbook /usr/kde/3.4/bin/meinproc: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory make[3]: *** [index.cache.bz2] Error 127 make[3]: Leaving directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc/en' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/superkaramba-0.34/work/superkaramba-0.34' make: *** [all] Error 2 !!! ERROR: x11-misc/superkaramba-0.34 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Package should be emerged correctly emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 14:53:06)] dev-lang/python: 2.2.3-r5, 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.6.3, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O4 -march=pentium4 -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -fforce-mem" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/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.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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O4 -march=pentium4 -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -fforce-mem" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibiblio.org/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/" LANG="en_US.iso885915" LC_ALL="en_US.iso885915" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dga directfb dvd dvdr eds emacs emboss encode esd ethereal fam fbcon flac foomaticdb fortran gcj gd gdbm gif gpm gtk gtk2 imagemagick imap imlib ipv6 java jikes jpeg kde ldap libg++ libwww mad maildir mbox mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pda pdflib plotutils plugin png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis x86 xine xinerama xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
re-emerging bzip2 should fix your problem. Or just run revdep-rebuild. But at first strip your set of compiler flags down! It produces broken binaries and we don't want to see your bug reports therefore.