I get the following message when atempting to run the latest version of the cracklib e-build from portage. I tried to look for other bugs relating to this but am afraid I am new to this whole thing... appoligies if a duplicate. make[2]: Entering directory `/var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5' make[1]: Leaving directory `/var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5' Generating cracklib dicts ... cracklib-packer: error while loading shared libraries: RTLD_NEXT used in code not dynamically loaded /var/tmp/portage/cracklib-2.8.5/image//usr/sbin/cracklib-format: line 12: 10426 Done gzip -cdf $* 10427 | tr '[A-Z]' '[a-z]' 10428 | tr -cd '\012[a-z][0-9]' 10429 Broken pipe | sort 10430 Broken pipe | uniq 10433 Broken pipe | grep -v '^#' 10434 Broken pipe | grep -v '^$'
emerge --info, please...
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" 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=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks 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 alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imlib ipv6 java jpeg junit kde lcms libg++ libwww mad mhash mikmod mng motif mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Provided requested info
post the full `emerge cracklib` log as an attachment
Created attachment 79147 [details] Log of emerge run and cracklib error
something isnt quite right on your machine that's for sure ... this is wrong in the output: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. can you try running: scanelf -Tt \ /var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5/lib/.libs/libcrack.so and posting the output as an attachment please
Created attachment 79237 [details] Requested scanelf log
what about this: scanelf -n \ /var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5/lib/.libs/libcrack.so also, what does this should: ls /usr/lib/libc.* finally, run this command and post the log as an attachment: LDFLAGS='-Wl,--verbose' emerge cracklib >& log
gentoo tmp # scanelf -n \ > /var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5/lib/.libs/libcrack.so TYPE NEEDED FILE ET_DYN /var/tmp/portage/cracklib-2.8.5/work/cracklib-2.8.5/lib/.libs/libcrack.so gentoo tmp # ls /usr/lib/libc.* /usr/lib/libc.a
Created attachment 79345 [details] Log of requested emerge run
as i suspected, you're missing /usr/lib/libc.so do this to fix your system: cd /usr/lib ln -s /lib/libc.so.6 libc.so emerge glibc
I could not compile glibc with the suggested link in place but removing it solved the problem, I was able to compile glibc and then cracklib. Should glibc be a dependancy for cracklib then? Thanks a bunch!
glibc should have installed a libc.so file for you, no idea why it wasnt installed and/or gone adding glibc to cracklib's DEPEND would have been useless as every system has glibc already installed