Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121608 - openssh configure fails to detect pam
Summary: openssh configure fails to detect pam
Status: RESOLVED DUPLICATE of bug 94458
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 17:11 UTC by Robin Felix
Modified: 2006-02-05 12:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Felix 2006-02-04 17:11:10 UTC
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.
Comment 1 SpanKY gentoo-dev 2006-02-04 21:57:20 UTC
the error message doesnt tell you to post config.log for nothing

attach it to the bug report
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 01:39:09 UTC
openldap is screwing things up again (Bug 94458). Re-emerge openldap and try again.
Comment 3 Robin Felix 2006-02-05 10:20:36 UTC
(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.
Comment 4 SpanKY gentoo-dev 2006-02-05 12:38:53 UTC
sounds good
Comment 5 SpanKY gentoo-dev 2006-02-05 12:39:08 UTC

*** This bug has been marked as a duplicate of 94458 ***