升级ssh编译错误升级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... yeschecking whether OpenSSL has NID_secp521r1... yeschecking if OpenSSL's NID_secp521r1 is functional... yeschecking for arc4random... nochecking for arc4random_buf... nochecking for arc4random_stir... nochecking for arc4random_uniform... nochecking for ia_openinfo in -liaf... nochecking whether OpenSSL's PRNG is internally seeded... yesconfigure: error:PAM headers not found
[root@iZ250yt13zzZ openssh-6.7p1]# rpm -qa | grep pampam-1.1.1-20.el6.i686fprintd-pam-0.1-21.git04fd09cfa.el6.i686pam_passwdqc-1.0.5-6.el6.i686[root@iZ250yt13zzZ openssh-6.7p1]# cd ..
[root@iZ250yt13zzZ 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_64libpam_misc.so.0()(64bit) is needed by pam-devel-1.1.1-20.el6.x86_64libpamc.so.0()(64bit) is needed by pam-devel-1.1.1-20.el6.x86_64[root@iZ250yt13zzZ software]# yum -y install pam-develLoaded plugins: securitySetting up Install Processbase | 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 kInstalled size: 548 kDownloading Packages:pam-devel-1.1.1-20.el6.i686.rpm | 206 kB 00:00 Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning 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!