I did "emerge parted", it started, went through quite a lot of configure checks, before it decided that it couldn't find dlopen in libdl (or couldn't find libdl itself). emerge tried version 1.6.23, then I tried versions 1.6.22 and 1.6.20 manually (using the = prefix), and it had the same problem. The messages from the configure checks: checking where the gettext function comes from... libc checking for dlopen in -ldl... no configure: error: -ldl not found! Try using --disable-dynamic-loading Reproducible: Always Steps to Reproduce: 1. do "emerge parted" 2. 3. Actual Results: Configure check for dlopen failed due to apparently missing libdl Expected Results: It should have found libdl and dlopen as they are installed on my system Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r7 i686) ================================================================= System uname: 2.6.12-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre3 ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" 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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="nn en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm arts audiofile avi berkdb bitmap-fonts cdr crypt cups curl debug dvd eds emboss encode fam foomaticdb fortran gdbm gif gpm gstreamer gtk2 icq ieee1394 imap imlib ipv6 jabber java jpeg kde kdexdeltas libg++ libwww mad mikmod mmx motif mp3 mpeg msn ncurses nls offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pdflib perl png python qt quicktime readline ruby samba sdl spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xml2 xmms xv zlib linguas_nn linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 65787 [details] The configure log when the configure check failed emerge asked me to attach this log, so I did
> configure:21426: checking if the linker (/mnt/dev/sda5/usr/i686-pc-linux-gnu/bin/ld) is GNU ld Uh? What's wrong with your paths?
(In reply to comment #2) > > configure:21426: checking if the linker > (/mnt/dev/sda5/usr/i686-pc-linux-gnu/bin/ld) is GNU ld > Uh? What's wrong with your paths? Nothing, /usr is a symlink to another partition. Works rather fine for everything else.
Ok, I have read some posts on the forum where symlinking /usr and /var was a problem, but in my case it turned out that the /usr/lib/libdl.so symlink to /lib/libdl.so.2 was missing. Creating it, solved this problem. I suppose it might be an glibc installation bug instead (?).