Install SecureCRT 8.3.4 on openSUSE 15.1

官方下载scrt-sfx-8.3.4.1699.rhel7-64.tar.gz并解压,我这里是/home/haotianfei/bin/scrt8.3.4/scrt-sfx-8.3.4/

1
2
cd /home/haotianfei/bin/scrt8.3.4/
tar zxvf scrt-sfx-8.3.4.1699.rhel7-64.tar.gz

解压后进入bin目录运行提示找不到openssl的库文件

1
2
3
haotianfei@tianfei-opensuse:~/bin/scrt8.3.4/scrt-sfx-8.3.4> ./SecureCRT
./SecureCRT: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
./SecureCRT: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory

这里使用www.openssl.org官方网站下载编译,然后链接到/usr/lib64/的方式

https://www.openssl.org/source/old/1.0.2/

1.0.2版本的最后一个版本1.0.2p
https://www.openssl.org/source/old/1.0.2/openssl-1.0.2p.tar.gz

解压并编译

1
2
haotianfei@tianfei-opensuse:~/bin/scrt8.3.4/openssl-devel/openssl-1.0.2p> ./config shared zlib-dynamic
haotianfei@tianfei-opensuse:~/bin/scrt8.3.4/openssl-devel/openssl-1.0.2p> make

将编译好的so文件链接到系统库目录

1
2
haotianfei@tianfei-opensuse:~/bin/scrt8.3.4/openssl-devel/openssl-1.0.2p> sudo ln -sf `pwd`/libssl.so.1.0.0 /usr/lib64/libssl.so.10
haotianfei@tianfei-opensuse:~/bin/scrt8.3.4/openssl-devel/openssl-1.0.2p> sudo ln -sf `pwd`/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.10

虽然还是会提示版本信息不可用,但已经可以正常运行使用了.

坚持原创技术分享,您的支持将鼓励我继续创作!