Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102288 - parted emerge bomb out on dlopen configure check
Summary: parted emerge bomb out on dlopen configure check
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 14:37 UTC by Lars Ivar Igesund
Modified: 2005-08-15 02:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The configure log when the configure check failed (config.log,44.15 KB, text/plain)
2005-08-12 14:44 UTC, Lars Ivar Igesund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Ivar Igesund 2005-08-12 14:37:15 UTC
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
Comment 1 Lars Ivar Igesund 2005-08-12 14:44:33 UTC
Created attachment 65787 [details]
The configure log when the configure check failed

emerge asked me to attach this log, so I did
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 15:38:12 UTC
> 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?
Comment 3 Lars Ivar Igesund 2005-08-13 01:12:35 UTC
(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.

Comment 4 Lars Ivar Igesund 2005-08-15 02:27:46 UTC
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 (?).