编译升级openssh报错解决
编译完执行openssl version报错
openssl: symbol lookup error: openssl: undefined symbol: EVP_mdc2, version OPENSSL_1_1_0
解决
root@:~/upgrade-openssh/openssl-1.1.1t
root@:~/upgrade-openssh/openssl-1.1.1t
root@:~/upgrade-openssh/openssl-1.1.1t
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1t 7 Feb 2023
root@:~/upgrade-openssh/openssl-1.1.1t
OpenSSL 1.1.1t 7 Feb 2023
编译openssh报错
configure: error: PAM headers not found
解决
ubuntu: apt-get install libpam0g-dev
dpkg -i --force-overwrite /var/cache/apt/archives/libpam0g-dev_1.3.1-5ubuntu4.6_amd64.deb.deb
centos: yum -y install pam-devel