安装filezilla client报错libgnutls版本旧

【问题】

1、查看当前系统是否已经存在gnutls库。

#find / -name libgnutls*

/usr/lib/libgnutls.so.26
/usr/lib/libgnutls-extra.so.26
/usr/lib/libgnutlsxx.so
/usr/lib/libgnutls.so.26.1.3
/usr/lib/libgnutls-openssl.so.26.1.3
/usr/lib/libgnutlsxx.so.26.1.3
/usr/lib/libgnutls-extra.so.26.1.3
/usr/lib/libgnutls.so
/usr/lib/libgnutlsxx.so.26
/usr/lib/libgnutls-openssl.so.26


查询结果发现存在gnutls,但是看不出版本号,姑且认为是大于等于2.8.3版本的。

 

2、安装filezilla client,报错

#../configure

checking for LIBGNUTLS... no
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 2.8.3... no
*** An old version of LIBGNUTLS (2.2.2) was found.
*** You need a version of LIBGNUTLS newer than 2.8.3. The latest version of
*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.
*** 
*** If you have already installed a sufficiently new version, this error
*** probably means that the wrong copy of the libgnutls-config shell script is
*** being found. The easiest way to fix this is to remove the old version
*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the
*** correct copy of libgnutls-config. (In this case, you will have to
*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf
*** so that the correct libraries are found at run-time))
configure: error: 
***
*** libgnutls 2.8.3 or greater was not found. You may want to get it from
*** ftp://ftp.gnutls.org/pub/gnutls/

【解决方案】

1、获取符合要求版本的gnutls库安装文件。

ftp://ftp.gnutls.org/gcrypt/gnutls/v2.8/gnutls-2.8.3.tar.bz2

 

2、解压

#tar -jxvf gnutls-2.8.3.tar.bz2

3、安装

#cd gunutls-2.8.3/

#mkdir build_gnutls

#cd build_gnutls

#../configure

configure: summary of build options:

  version:          2.8.3 shared 40:10:14
  Host type:        i686-pc-linux-gnu
  Install prefix:   /usr/local
  Compiler:         gcc -std=gnu99
  Warning flags:    errors:  warnings: 
  Library types:    Shared=yes, Static=yes
  Valgrind:         valgrind
  Guile wrappers:   yes
  C++ library:      yes
  OpenSSL library:  yes


#make

#make install

4、执行filezilla client安装

#../configure

checking pkg-config is at least version 0.9.0... yes
checking for LIBGNUTLS... yes
checking tinyxml.h usability... no
checking tinyxml.h presence... no

LIBGNUTLS已经ok。

 

 

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值