"emerge -u world" fails at sys-devel/gettext-0.14.2 with the following: Making all in misc make[3]: Entering directory `/home/portage/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc' WARNING: Warnings can be ignored. :-) if test "emacs" != no; then \ set x; \ list='po-mode.el po-compat.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS="emacs" /bin/sh ../../config/elisp-comp "$@" || exit 1; \ else : ; fi emacs: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory make[3]: *** [elc-stamp] Error 1 make[3]: Leaving directory `/home/portage/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools/misc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/portage/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/portage/portage/gettext-0.14.2/work/gettext-0.14.2/gettext-tools' make: *** [all-recursive] Error 1 Expected results: 1. gettext-0.14.2 2. up-to-date system Actual results: gettext did not build # emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) 2600+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 17:34:46)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r6 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib alsa apm avi berkdb bitmap-fonts cdr cfq-ts crypt cups curl divx divx4linux dvd emboss encode fam flac font-server foomatic foomaticdb fortran gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww live mad mikmod mmx motif mozilla mp3 mpeg nas ncurses nls nptl nptlonly offensive oggvorbis opengl oss pam pdflib perl pic png posix ppds python quicktime readline samba sdl spell sse ssl staircase svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xmms xpm xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
try re-emerging your emacs, apparently.
Emacs failed too with the same library error, so I rebuilt openmotif and things seem to be compiling fine now.
*** Bug 144808 has been marked as a duplicate of this bug. ***