安装filezilla client时报错idna.h not found which is part of GNU libidn.

来源:互联网 发布:福彩3d2017年开奖数据 编辑:程序博客网 时间:2024/05/29 12:49

 

【问题】
1、查看是否安装了libidn,搜索libidn库,发现存在libidn.so.11库。

#find / -name  *idn*so*

/lib/libcidn-2.8.so/lib/libcidn.so.1/usr/lib/libidn.so.11/usr/lib/libidnkitlite.so.1.0.2/usr/lib/libidn.so.11.5.37/usr/lib/libcidn.so/usr/lib/libidnkitres.so.1/usr/lib/libidnkitlite.so.1/usr/lib/libidnkit.so.1.0.2/usr/lib/libidnkitres.so.1.0.1/usr/lib/libidnkit.so.1


2、安装filezilla,执行configure

checking idna.h usability... nochecking idna.h presence... nochecking for idna.h... noconfigure: error: idna.h not found which is part of GNU libidn.

【排查】

1、查找idna.h文件,系统中不存在该文件。

#find / -name idna.h

【解决方案】

1、下载libidn-1.27的库安装包。

ftp://ftp.gnu.org/gnu/libidn/libidn-1.27.tar.gz

2、解包

tar -zxvf libidn-1.27.tar.gz

3、发现在存在libidn-1.27/lib/idna.h

4、安装libidn

#cd  libidn-1.27

#mkdir build_libidn

#../configure

configure: summary of build options:  version:          1.27 shared 17:10:6  Host type:        i686-pc-linux-gnu  Install prefix:   /usr/local  Compiler:         gcc -std=gnu99  Warning flags:      Library types:    Shared=yes, Static=yes  Libiconv:         yes  Valgrind:         valgrind -q --error-exitcode=1 --leak-check=full  Version script:   yes  TLD code:         yes  Build Java port:  no  Build C# port:    yes

#make

#make install

5、查找idna.h

#find / -name idna.h

/usr/local/include/idna.h

6、安装filezilla client

#../configure

该问题解决。


 


 

原创粉丝点击