Tried to emerge lyx but compiling latex2html-2002-2.tar.gz fails early in the config process, thus: $ emerge lyx ... >>> emerge (4 of 13) dev-tex/latex2html-2002.2 to / >>> Downloading http://ftp.easynet.nl/mirror/gentoo/distfiles/latex2html-2002-2.tar.gz --08:06:10-- http://ftp.easynet.nl/mirror/gentoo/distfiles/latex2html-2002-2.tar.gz => `/usr/portage/distfiles/latex2html-2002-2.tar.gz' Connecting to 192.168.129.1:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1,122,586 [application/x-tar] 100%[=======================================================>] 1,122,586 56.65K/s ETA 00:00 08:06:29 (56.95 KB/s) - `/usr/portage/distfiles/latex2html-2002-2.tar.gz' saved [1122586/1122586] >>> md5 src_uri ;-) latex2html-2002-2.tar.gz >>> Unpacking source... >>> Unpacking latex2html-2002-2.tar.gz to /var/tmp/portage/latex2html-2002.2/work >>> Source unpacked. gif png gif creating cache ./config.cache checking for perl... /usr/bin/perl checking whether #! works in shell scripts... yes launching proprietary configuration... config.pl, Release 2002-2 (Revision 1.48) Accompanies LaTeX2HTML, (C) 1999 GNU Public License. checking for old config file (cfgcache.pm)... not found (ok) checking for platform... linux (assuming unix) checking for /usr/bin/perl... /usr/bin/perl checking perl version... 5.008004 /usr/bin/perl: symbol lookup error: /usr/lib/perl5/5.8.4/x86_64-linux/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open !!! ERROR: dev-tex/latex2html-2002.2 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed So I tried "emerge latex2html" on its own but got exactly the same errors. (I thought this might avoid the "launching proprietary configuration", but it didn't.) Reproducible: Always Steps to Reproduce: 1. 2. 3. # emerge info Portage 2.0.50-r10 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040605-r0,2.3.4.20040619-r1, 2.6.7-gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="no" CFLAGS="-O3 -pipe -fomit-frame-pointer" CHOST="x86_64-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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/fonts /etc/gconf /etc/rc.d /etc/rsync /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.org/gentoo.org/ http://mir.zyrianes.net/gentoo/ ftp://212.54.48.26/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tetex truetype xml2 xmms xv zlib"
Please try perl-5.8.4-r1 and report success/failure, as per this discussion in the forums: "Seems that dev-lang/perl-5.8.4 is broken on the AMD64. Updating to the unstable perl-5.8.4-r1 appears to be fixing that glitch. At least no errors about missing dbm showing. ...solved the error in latex2html" - http://forums.gentoo.org/viewtopic.php?t=206320
ACCEPT_KEYWORDS="amd64 ~amd64" emerge =dev-lang/perl-5.8.4-r1 That did the trick. Well, it enabled "emerge lyx" to succeed, anyway. Now to test Lyx; any problem there will presumably be unrelated to this bug. Thanks for the pointer.
*** This bug has been marked as a duplicate of 52660 ***