I have lua-5.02 installed and try to emerge the newest Ion3 version 20050820, but it fails when compiling. It also happended to 20050728, but I waited to see if the bug goes away in the next version, but it didn't. Reproducible: Always Steps to Reproduce: 1. emerge ion3 2. 3. Actual Results: make[1]: Leaving directory `/var/tmp/portage/ion3-20050820/work/ion-3ds-20050820/libmainloop' make[1]: Entering directory `/var/tmp/portage/ion3-20050820/work/ion-3ds-20050820/mod_ionws' /usr/bin/lua ../libextl/libextl-mkexports -module mod_ionws -o exports.c -h exports.h \ main.c ionws.c placement.c split.c split-stdisp.c splitfloat.c panehandle.c /usr/bin/lua: error while loading shared libraries: libhistory.so.4: cannot open shared object file: No such file or directory make[1]: *** [exports.c] Error 127 make[1]: Leaving directory `/var/tmp/portage/ion3-20050820/work/ion-3ds-20050820/mod_ionws' make: *** [subdirs] Error 2 Expected Results: installed ion3 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid asm avi bitmap-fonts bluetooth c++ ccache cdr cscope cups curl dga dhcp directfb dvd dvdread eds emboss encode fam fbcon flac foomaticdb ftp gcj gd gdbm gif gpm gstreamer gtk2 guile icq imagemagick imlib irmc jpeg kde kdeenablefinal libcaca libg++ libwww lirc lm_sensors lua mad mikmod mmx mmx2 mp3 mpeg native ncurses nls nocd nptl nptlonly nvidia ogg oggvorbis opengl opie oscar pam pda pdflib perl pic png python qt quicktime readline rtc ruby samba sdl slang speex spell sqlite sse sse2 ssl svga symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
This looks like a lua & readline problem. You have probably upgraded readline from version 4 to version 5 after you installed lua and this has broken lua: lua fails to find libhistory.so.4 (part of readline version 4) and therefore does not run. Try re-emerging lua and then try emerging ion3 again. You may also want to emerge gentoolkit and run revdep-rebuild since it is possible that other programs are broken on your system.
Oh thank you so much, it works now :) revdep-rebuild fails to automatically update my system, but at least I saw what was broken, and a reemerge of lua and then ion3 worked like a charme. Thanks for the hint and sorry for opening a bug report.
*** Bug 117228 has been marked as a duplicate of this bug. ***