gcc -o ndisasm ndisasm.o disasm.o sync.o nasmlib.o insnsd.o nroff -man nasm.1 > nasm.man groff: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory make: *** [nasm.man] Error 127 deskserver ~ # emerge info Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 Pentium III (Coppermine) Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://195.56.77.10/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirror.pudas.net/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/" 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 atm avi berkdb bitmap-fonts crypt cups encode foomaticdb freetype gdbm gif gpm gtk gtk2 icq imlib imlib2 java jikes jpeg kde libg++ libwww mad mikmod mmx mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang slp spell sse ssl tcpd truetype type1 unicode utf8 x86 xml xml2 xmms xprint xv xvid zlib"
After reading your bug report I tried emerging dev-lang/nasm-0.98.38 and it worked just fine for me. My info: Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1-ck9 i686) ================================================================= System uname: 2.6.8.1-ck9 i686 Intel(R) Celeron(R) CPU 2.70GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -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/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 /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca:2121/pub/gentoo ftp://cs.ubishops.ca/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="X aim alsa apm arts audiofile avi berkdb bitmap-fonts bzlib calendar cdinstall cdr cdrom chroot cpdflib crypt cups dba directfb divx4linux dv dvdread encode esd f77 faac faad fbcon fbdev ffmpeg flac flash foomaticdb ftp gcj gcl gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile i8x0 imlib jabber java javascript jikes jpeg kde libdsk libg++ libwww lzw-tiff mad md5sum mhash mikmod motif mozaccess mozcalendar mozctl mozdomi mozilla moznocompose moznoirc moznomail mpeg mpeg4 mplayer msn music mysql nas native ncurses net nethack nls nocd noexperimental nojoystick nomac noreiserfs ntlm oav offensive oggvorbis opengl oscar oss pam pdflib perl php png posix postgres pthreads python qt quicktime readline ruby sdl slang sndfile snmp sockets spell ssl svga tcltk tcpd tetex threads truetype usb vanilla x86 xml xml2 xmms xprint xv xvid yahoo zlib"
This doesn't look like a compile error to me. run revdep-rebuild and reopen if this is still a problem.