I have done an emerge -uDa system, and it is failing on openssh with the following error: checking OpenSSL header version... 90804f (OpenSSL 0.9.8d 28 Sep 2006) checking OpenSSL library version... 90800f (OpenSSL 0.9.8 05 Jul 2005) checking whether OpenSSL's headers match the library... no configure: error: Your OpenSSL headers do not match your library. Check config.log for details. Also see contrib/findssl.sh for help identifying header/library mismatches. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/net-misc/openssh-4.5_p1-r1/work/openssh-4.5p1/config.log !!! ERROR: net-misc/openssh-4.5_p1-r1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile openssh-4.5_p1-r1.ebuild, line 114: Called econf '--with-ldflags=' '--disable-strip' '--sysconfdir=/etc/ssh' '--libexecdir=/usr/lib/misc' '--datadir=/usr/share/openssh' '--disable-suid-ssh' '--with-privsep-path=/var/empty' '--with-privsep-user=sshd' '--with-md5-passwords' '--with-ldap' '--without-libedit' '--without-kerberos5' '--with-tcp-wrappers' '--without-selinux' '--without-skey' '--without-opensc' '--with-pam' ebuild.sh, line 578: Called die !!! econf failed ---------------- I have unmerged openssl, and then re-emerged it, but had the same issue. I have even re-booted the machine, but still I have this issue. I suspect this is a problem with the build (install) of openssl, but I'm not sure. Reproducible: Always Steps to Reproduce: 1. emerge openssh 2. 3. Expected Results: Emerged OK Emerge --info provides: Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.17-gentoo-r8attempt2 i686) ================================================================= System uname: 2.6.17-gentoo-r8attempt2 i686 AMD Athlon(tm) Processor Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 03 Jun 2007 13:00:07 +0000 ccache version 2.3 [disabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_GB" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dlloader doc dri dvd eds emboss encode esd fam firefox fortran gdbm gif gimp gpm gs gtk gvim hal iconv ifp imagemagick imlib ipod ipv6 jpeg jpeg2k kde kipi ldap libg++ mad midi mikmod mp3 mpeg mplayer mudflap ncurses njb nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! /var/tmp/portage/net-misc/openssh-4.5_p1-r1/work/openssh-4.5p1/config.log Please, attach the log.
Created attachment 121698 [details] Log file from the build
Nope; attach the config.log, not build log
Created attachment 121707 [details] config log
Created attachment 121709 [details] config log
<snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libldap.so: undefined reference to `X509_STORE_CTX_get_error' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libldap.so: undefined reference to `X509_STORE_set_flags' /usr/lib/libssl.so.0.9.8: undefined reference to `EVP_idea_cbc' </snip> Your openldap install is messed up, you should run revdep-rebuild and/or re-emerge openldap for starters.
I've run revdep-rebuild, which gives the following: ------------------------------------------ revdep-rebuild -p Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. ------------------------------------------ So I don't think there's any DLL errors there. emerge --unmerge openldap emerge openssh gives the same error (emerge openssh requires openldap, so it builds that too)
> Also see contrib/findssl.sh for help identifying header/library mismatches. Copy the file from the openssh tarball somewhere, run it like `sh ./findssl.sh` and post the output here.
The results from findssl.sh I'm archiving off /home/home, and I'll check if things get better tomorrow. contrib # sh ./findssl.sh Searching for OpenSSL header files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090601fL /home/home/src/redhat/BUILD/openssl-0.9.6a/crypto/opensslv.h /home/home/src/redhat/BUILD/openssl-0.9.6a/include/openssl/opensslv.h 0x0090804f /usr/include/openssl/opensslv.h Searching for OpenSSL shared library files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090801fL /home/will/.google-earth/libcrypto.so.0.9.8 0x0090804fL /usr/lib/libcrypto.so.0.9.8 0x0090804fL /usr/lib/libcrypto.so 0x0090800fL /usr/NX/lib/libcrypto.so.0.9.8 0x0090800fL /usr/NX/lib/libcrypto.so Searching for OpenSSL static library files. which: no locate in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin) 0x0090601fL /home/home/src/redhat/BUILD/openssl-0.9.6a/libcrypto.a 0x0090804fL /usr/lib/libcrypto.a
When I look at this there are also some libcrypto.so files picked up from within /usr/NX/lib Removing these fixes the problem. Thanks for the help.
Thanks for reporting back.