- 論壇徽章:
- 0
|
虛擬機裝了個SUSE11測試升級openssh
過程如下
linux-1i1o:~ # cd /home/zym/openssl-1.0.2l
linux-1i1o:~ # ./config --prefix=/usr/local/openssl --shared&& make && make install
linux-1i1o:~ # cd /usr/local/openssl/lib >> /etc/ld.so.conf
linux-1i1o:~ # ldconfig
linux-1i1o:~ # cp -p /usr/local/openssl/bin/openssl /usr/bin/openssl
linux-1i1o:~ # cp -p /usr/local/openssl/lib/libssl.so.1.0.0 /lib
linux-1i1o:~ # cp -p /usr/local/openssl/lib/libssl.so.1.0.0 /lib64
linux-1i1o:~ # openssl version -a
OpenSSL 1.0.2l 25 May 2017
built on: reproducible build, date unspecified
platform: linux-x86_64
options: bn(64,64) rc4(16x,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/usr/local/openssl/ssl"
linux-1i1o:~ # strings /lib/libssl.so.1.0.0 | grep OpenSSL
OpenSSLDie
SSLv3 part of OpenSSL 1.0.2l 25 May 2017
TLSv1 part of OpenSSL 1.0.2l 25 May 2017
DTLSv1 part of OpenSSL 1.0.2l 25 May 2017
OpenSSL 1.0.2l 25 May 2017
linux-1i1o:~ # strings /lib64/libssl.so.1.0.0 | grep OpenSSL
OpenSSLDie
SSLv3 part of OpenSSL 1.0.2l 25 May 2017
TLSv1 part of OpenSSL 1.0.2l 25 May 2017
DTLSv1 part of OpenSSL 1.0.2l 25 May 2017
OpenSSL 1.0.2l 25 May 2017
----以上升級openssl完成
linux-1i1o:~ # ./configure --prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/openssl --with-zlib=/usr/local/zlib --with-md5-passwords --without-hardening
checking OpenSSL header version... 100020cf (OpenSSL 1.0.2l 25 May 2017)
checking OpenSSL library version... configure: error: OpenSSL >= 1.0.1 required (have "1000003f (OpenSSL 1.0.0c 2 Dec 2010)")
編譯openssh的時候報錯ssl的庫文件和頭文件版本不一致,試了一下下午沒找到解決方法。
有知道的請指導一下,謝謝。
|
|