When doing 'emerge -e world', it fails at package sys-libs/gpm with error: make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/contrib' /usr/bin/emacs -batch -l /var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/contrib/emacs/exec.el -exec '(byte-compile-file "emacs/t-mouse.el")' /usr/bin/emacs: error while loading shared libraries: libXaw3d.so.7: cannot open shared object file: No such file or directory make[1]: *** [emacs/t-mouse.elc] Error 127 libXaw3d.so.8 does exist however. Reproducible: Always Steps to Reproduce: 1. emerge gpm; emerge -e world 2. 3. Actual Results: See details. Gentoo Base System version 1.6.7 Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2 i686) ================================================================= System uname: 2.6.10-rc2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 11 2004, 14:10:08)] distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -g -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/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/lib/mozilla/defaults/pref /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 /usr/X11R6/lib/X11 /etc/env.d" CXXFLAGS="-O2 -g -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage/" USE="X Xaw3d aalib acpi acpi4linux alsa avi berkdb bidi bindist bitmap-fonts bonobo caps cddb cdr chroot crypt cscope cups curl dga dillo directfb divx4linux dmx dnd dvd dvdread emacs encode evo f77 faad fam fbcon ffmpeg fftw flac flash foomaticdb fortran gb gcj gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib insecure-drivers irda jack java javascript jbig jikes joystick jpeg junit kde lcms libdsk libg++ libgda libwww live ltsp lzo lzw lzw-tiff mad matroska mbox memlimit mikmod mmx mmx2 mng motif mozilla mozp3p mozsvg mp3 mpeg msn music mythtv ncurses network nls nvidia objc offensive ofx oggvorbis opengl oss pam pdflib perl pic plotutils png ppds python qemu-fast qt quicktime quotes radeon readline real rtc ruby samba scanner sdl skey sox speedo speex spell sqlite sse ssl stencil-buffer svg t1lib tcltk tcpd tga theora tiff transparent-proxy truetype type1 usb v4l vim-with-x wmf x86 xchattext xemacs xine xinerama xml xml2 xmms xosd xv xvid yahoo zlib zvbi linguas_en linguas_nl"
cd /usr/X11R6/lib/; ln -s libXaw3d.so libXaw3d.so.7 ...works as a temporary workaround.
Can you please proved your emacs version? x11-libs/Xaw3d provided libXaw3d.so.*
I have the same problem with gpm-1.20.1 I am using Xaw3d version 1.5-r1 it resides in /usr/lib as libXaw3d.so.8.o there are links to this file as libXaw3d.so and libXaw3d.so.8 I made a link to it as libXaw3d.so.8 and gpm emerge nicely. Peter.
In the last comment the last link is as libXaw3d.so.7 of course. Peter
Normally, if so version number has changed you need to recompile everything depending on that library (at least on Gentoo). revdep-rebuild is intended to help that. Are you saying it is better to make emacs depend on libXaw3d.so (without version number)?
I don't think it's related to emacs; the point is you need to recompile everything depending on Xaw3d when you upgrade Xaw3d package (and its shared library version has been changed).