Operating System - HP-UX
1819761 Members
2909 Online
109606 Solutions
New Discussion юеВ

Re: Error when compiling Openssh

 
Darrel Louis
Honored Contributor

Error when compiling Openssh

Hi All,

When performing the following:

HOME=/var/tmp/
./configure \
--prefix=/opt/openssh-4.5p1 \
--sysconfdir=/etc/opt/openssh \
--with-default-path=/usr/bin:/usr/sbin:/usr/lbin:/opt/openssh/bin:/opt/sudo/bin:/admin/binsa \
--with-zlib=$HOME/zlib-1.2.3 \
--with-ssl-dir=$HOME/openssl-0.9.8d \
--with-pam

I get the following Message, any idea.

checking whether OpenSSL's PRNG is internally seeded... yes
checking for dlopen in -ldl... yes
checking for pam_set_item in -lpam... no
configure: error: *** libpam missing

Thanks
Darrel Louis
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Error when compiling Openssh

Darrel,
any additional info in config.log ?

Otherwise I would guess something like /usr/lib/libpam.a or /etc/pam.conf is missing.
Peter Godron
Honored Contributor

Re: Error when compiling Openssh

Darrel,
how are you getting on?

Does it have to be this version? Otherwise the binaries depots are available at:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-4.4p1/
Jurgen Ponds
Occasional Contributor

Re: Error when compiling Openssh

Peter,

Sorry for the late response:
The file /usr/lib/libpam.a is missing on my machine. I only have libpam.1 and libpam.sl
Hereby the pam.conf
#
# PAM configuration
#
# Authentication management
#
other auth sufficient /usr/lib/security/libpam_unix.1
other auth sufficient /usr/lib/security/libpam_ldap.1 try_first_pass
#
# Account management
#
other account required /usr/lib/security/pam_access.so homedir
other account sufficient /usr/lib/security/libpam_unix.1
other account sufficient /usr/lib/security/libpam_ldap.1
#
# Session management
#
other session sufficient /usr/lib/security/libpam_unix.1
other session sufficient /usr/lib/security/libpam_ldap.1
#
# Password management
#
other password sufficient /usr/lib/security/libpam_unix.1
other password sufficient /usr/lib/security/libpam_ldap.1

[gtsx201:root]# swlist -l fileset|grep -i pam
LdapUxClient.PAM-AUTHZ-RUN B.03.30 PAM Authorization Core Components
# PAM-Kerberos B.11.11.12 PAM-Kerberos Version 1.10
PAM-Kerberos.PAM-KRB-DEMO B.11.11.12 PAM-Kerberos Demonstration
PAM-Kerberos.PAM-KRB-MAN B.11.11.12 PAM-Kerberos Man Pages
PAM-Kerberos.PAM-KRB-RUN B.11.11.12 PAM-Kerberos Runtime
PAM-Kerberos.PAM-KRB-SHLIB B.11.11.12 PAM-Kerberos Shared Library
# PAM-NTLM A.01.09 HP NTLM Pluggable Authentication Module
PAM-NTLM.PAM-NTLM-RUN A.01.09 NTLM Pluggable Authentication Module for PA 32/64-bit systems
PAM-NTLM.SMB-LIB-RUN A.01.09 SMB Library
# PHCO_33215 1.0 libpam_unix cumulative patch
# PHCO_34434 1.0 libpam cumulative patch
Darrel Louis
Honored Contributor

Re: Error when compiling Openssh

Peter,

I've tried version openssh-4.4p1, but resulted in the same problem.

Regards
Darrel Louis