I'm during installing of Gentoo then I won't write about packages(I'll send it later). Some packages needs -ldl in LDFLAGS (else it shows "undefined reference in /usr/lib/libdl.so.2 to _dl_open@GLIBC_PRIVATE"). Regards
Reopen when you are ready to provide relevant information...
livecd linux # make menuconfig HOSTLD scripts/kconfig/lxdialog/lxdialog /usr/lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE' /usr/lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE' collect2: ld returned 1 exit status make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1 make[1]: *** [menuconfig] Error 2 make: *** [menuconfig] Error 2 livecd linux # emerge --info Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3-r1 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acc acl acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 calendar cdparanoia cdr cli crypt cups dbus doc dri dvd dvdr eds emacs emboss encode esd exif expat flash foomaticdb fortran gdbm gif gnome gpm gstreamer gstreamer10 gstremer gtk gtk2 gtkhtml hal iconv imap imlib ipv6 isdnlog jpeg libg++ libwww mad maildir mhash mikmod ming mmx mono motif mozilla mp3 mpeg ncurses nls nosendmail nptl nptlonly ogg oggvorbis openal opengl pam pcre pda pdf pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xml xml2 xmms xorg xsl xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY I'm during upgrading of glibc - it could be problem with it
Unfortunatly not. It still shows undefined reference. I've try to comple glibc with different use flags(glibc-omitfp). Regards.
uhh, you should shouldnt have libdl.so.2 in /usr/lib post the /var/db/pkg/sys-libs/glibc-2.4-r1/CONTENTS file as an attachment
Created attachment 86234 [details] /var/db/pkg/sys-libs/glibc-2.4-r2/CONTENTS Here's my CONTENT file
glibc didnt install that file i'd run: qfile /usr/lib/libdl.so.2 and see who installed it if the answer is no-one, i'd just delete it and go on your way
I'll explain later
Oh sorry - I'd like to mark it like not a bug - I remember now I've, by accident, unpack stage to /usr instead of portage and I've forgotten to clean it.