libpam is present on the system, but openssh ebuild can't find it: lrwxrwxrwx 1 root root 14 Oct 31 07:43 /lib/libpam.so -> libpam.so.0.78 lrwxrwxrwx 1 root root 14 Oct 31 07:43 /lib/libpam.so.0 -> libpam.so.0.78 -rwxr-xr-x 1 root root 34792 Oct 31 07:43 /lib/libpam.so.0.78 lrwxrwxrwx 1 root root 19 Oct 31 07:43 /lib/libpam_misc.so -> libpam_misc.so.0.78 lrwxrwxrwx 1 root root 19 Oct 31 07:43 /lib/libpam_misc.so.0 -> libpam_misc.so.0.78 -rwxr-xr-x 1 root root 11488 Oct 31 07:43 /lib/libpam_misc.so.0.78 lrwxrwxrwx 1 root root 15 Oct 31 07:43 /lib/libpamc.so -> libpamc.so.0.78 lrwxrwxrwx 1 root root 15 Oct 31 07:43 /lib/libpamc.so.0 -> libpamc.so.0.78 -rwxr-xr-x 1 root root 12096 Oct 31 07:43 /lib/libpamc.so.0.78 emerge --info results Quote: Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x8 6_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr /lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share /texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/conf ig/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributi ons/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acl alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cryp t cups curl doc eds emacs emboss encode esd ethereal exif expat fam ffmpeg foomaticdb fort ran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imap iml ib ipv6 jpeg kde lcms ldap libwww lzw lzw-tiff mbox mhash mng mozilla mp3 mpeg mysql ncurs es nls offensive opengl pam pcre pdflib perl php png python qt quicktime readline recode s amba sdl spell ssl symlink tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Unquote. Error message: Quote: ... checking whether system supports SO_PEERCRED getsockopt... yes checking if openpty correctly handles controlling tty... no checking whether getpgrp requires zero arguments... yes checking for dlopen in -ldl... no checking for pam_set_item in -lpam... no configure: error: *** libpam missing !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/config.log !!! ERROR: net-misc/openssh-4.2_p1-r1 failed. !!! Function econf, Line 495, Exitcode 0 !!! econf failed Unquote. /var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/config.log File is 656K -- can post it if needed.
the error message doesnt tell you to post config.log for nothing attach it to the bug report
openldap is screwing things up again (Bug 94458). Re-emerge openldap and try again.
(In reply to comment #2) > openldap is screwing things up again (Bug 94458). Re-emerge openldap and try > again. > Re-emerging openldap did the trick -- openssh installed properly. Thank you for your courteous reply.
sounds good
*** This bug has been marked as a duplicate of 94458 ***