[snip....] checking whether snprintf can declare const char *fmt... yes 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 # emerge --info Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-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=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://mirror.espri.arizona.edu/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/" LANG="en" LC_ALL="en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/gentoo/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 alsa apache2 avi berkdb bitmap-fonts bzip2 cdb cli crypt cups dba dbm dbus dbx dri eds emboss encode exif expat fam foomaticdb fortran ftp gd gdbm gif gnutls gpm gstreamer hal idn imagemagick imap imlib ipv6 isdnlog jpeg ldap libwww lm_sensors lzw lzw-tiff maildir mhash mime mp3 mpeg mysql mysqli ncurses nls odbc opengl pam pcre pdflib perl php png posix pppd python quicktime readline recode reflection samba sasl sdl session sharedext sharedmem snmp spell spl ssl tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales vhosts xml xml2 xmlrpc xorg xpm xv zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 86235 [details] config.log attached as per request
Re-emerge openldap... *** This bug has been marked as a duplicate of 94458 ***
And, BTW..... kali:~$ locate libpam /usr/lib64/libpam.so /usr/lib64/libpamc.a /usr/lib64/libpamc.so /usr/lib64/libpam_misc.a /usr/lib64/libpam_misc.so /usr/lib64/libpam.a /lib64/libpam.so /lib64/libpamc.so.0.78 /lib64/libpamc.so /lib64/libpamc.so.0 /lib64/libpam_misc.so.0.78 /lib64/libpam_misc.so /lib64/libpam_misc.so.0 /lib64/libpam.so.0 /lib64/libpam.so.0.78