kermit使用中遇到openssl的问题

在工作中,突然串口工具kermit不能使用了,打印如下信息.
git@test-OptiPlex-9010:~$ sudo kermit
[sudo] password for git:
?OpenSSL libraries do not match required version:
. C-Kermit built with OpenSSL 1.0.0e 6 Sep 2011
. Version found OpenSSL 1.0.1 14 Mar 2012
OpenSSL versions prior to 1.0.0 must be the same.
Set LD_LIBRARY_PATH for OpenSSL 1.0.0e 6 Sep 2011.
Or rebuild C-Kermit from source on this computer to make versions agree.
C-Kermit makefile target: linux+krb5+openssl
Or if that is what you did then try to find out why
the program loader (image activator) is choosing a
different OpenSSL library than the one specified in the build.
All SSL/TLS features disabled.
C-Kermit 9.0.302 OPEN SOURCE:, 20 Aug 2011, for Linux+SSL+KRB5 (64-bit)
Copyright (C) 1985, 2011,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/git/) C-Kermit>c
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.**
一.openssl下载编译安装全过程
一开始发现:OpenSSL libraries do not match required version:
. C-Kermit built with OpenSSL 1.0.0e 6 Sep 2011可能openssl的版本太高,
通过命令检查:openssl version 1.0.1 14 Mar 2012
于是网上下载一个 版本1.0.0e 的源码6 Sep 2011
下载地址:http://www.openssl.org/source/ 下一个新版本的OpenSSL,版本是:openssl-1.0.0e.tar.gz
解压:tar -xzf openssl-openssl-1.0.0e.tar.gz
编译安装步骤:
[root@csqtest openssl-1.0.0]# ./config –prefix=/usr/local/openssl
[root@csqtest openssl-1.0.0]# make
[root@csqtest openssl-1.0.0]# make test
[root@csqtest openssl-1.0.0]# make install
二.配置系统环境
只是进行上述步骤,系统信息是没有更新为新安装的 packages,需要进行进一步的配置.
# cd /usr/local
# ln -s openssl ssl
在/etc/ld.so.conf文件的最后面,添加如下内容:

/usr/local/openssl/lib
#ldconfig
最后注意添加openssl环境变量:
在etc/的profile的最后一行,添加:
export OPENSSL=/usr/local/openssl/bin
export PATH=

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值