升级ssh 编译的时候遇到PAM headers not found,然后需要安装 pam-devel-1.1.1-20.el6.x86_64,自己下载了rpm包,安装报错,然后用yum -y install pam-devel安装成功。详细看操作详情
checking whether OpenSSL has NID_secp384r1... yes
checking whether OpenSSL has NID_secp521r1... yes
checking if OpenSSL‘s NID_secp521r1 is functional... yes
checking for arc4random... no
checking for arc4random_buf... no
checking for arc4random_stir... no
checking for arc4random_uniform... no
checking for ia_openinfo in -liaf... no
checking whether OpenSSL‘s PRNG is internally seeded... yes
configure: error: PAM headers not found
[[email protected] openssh-6.7p1]# rpm -qa | grep pam
pam-1.1.1-20.el6.i686
fprintd-pam-0.1-21.git04fd09cfa.el6.i686
pam_passwdqc-1.0.5-6.el6.i686
[[email protected] openssh-6.7p1]# cd ..
[[email protected] software]# rpm -ivh pam-devel-1.1.1-20.el6.x86_64.rpm
error: Failed dependencies:
libpam.so.0()(64bit) is needed by pam-devel-1.1.1-20.el6.x86_64
libpam_misc.so.0()(64bit) is needed by pam-devel-1.1.1-20.el6.x86_64
libpamc.so.0()(64bit) is needed by pam-devel-1.1.1-20.el6.x86_64
[[email protected] software]# yum -y install pam-devel
Loaded plugins: security
Setting up Install Process
base | 3.7 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 5.3 MB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.0 MB 00:00
Resolving Dependencies
--> Running transaction check
---> Package pam-devel.i686 0:1.1.1-20.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================
Package Arch Version Repository Size
=============================================================================================
Installing:
pam-devel i686 1.1.1-20.el6 base 206 k
Transaction Summary
=============================================================================================
Install 1 Package(s)
Total download size: 206 k
Installed size: 548 k
Downloading Packages:
pam-devel-1.1.1-20.el6.i686.rpm | 206 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pam-devel-1.1.1-20.el6.i686 1/1
Verifying : pam-devel-1.1.1-20.el6.i686 1/1
Installed:
pam-devel.i686 0:1.1.1-20.el6
Complete!