[alexus@wcmisdlin02 bin]$ ./filezilla
./filezilla: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./filezilla)
./filezilla: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./filezilla)
[alexus@wcmisdlin02 bin]$

Your libstdc++ is too old. Please either update to a more resent libstdc++ or manually compile FileZilla for your platform.

源码:https://filezilla-project.org/sourcecode.php

rpm -Uvh http://repos.codelite.org/wx3.0.2/wx3.0-packages/fedora/3.0.2/20/wx-base-unicode-devel-3.0.2-1.i686.rpm

通过编译代码来安装filezilla,首先执行./configure,报如下错误:

  1. configure: error:
  2. wxWidgets must be installed on your system
  3. but either the wx-config script couldn't be found or
  4. no compatible wxWidgets configuration has been installed.
  5. Compatible wxWidgets configurations are the unicode builds
  6. of wxGTK, wxMac and wxMSW.
  7. Please check that wx-config is in path, the directory
  8. where wxWidgets libraries are installed (returned by
  9. 'wx-config --libs' command) is in LD_LIBRARY_PATH or
  10. equivalent variable and wxWidgets version is 2.8.12.0 or above.

【排查】

已经安装了gtk版的wxWidgets,且存在/usr/local/bin/wx-config。

1、/usr/local/bin/wx-config --version-full查看版本号为:
2.8.12.0

/usr/local/bin/wx-config --libs结果如下:
-L/usr/local/lib -pthread  
-lwx_gtk2_richtext-2.8 -lwx_gtk2_aui-2.8 -lwx_gtk2_xrc-2.8
-lwx_gtk2_qa-2.8 -lwx_gtk2_html-2.8 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8
-lwx_base_xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8

得知wxWidgets的库在/usr/local/lib路径。

查看LD_LIBRARY_PATH环境变量为空。

export|grep LD_LIBRARY_PATH

2、设置环境变量LD_LIBRARY_PATH=/usr/local/lib

导出环境变量export LD_LIBRARY_PATH

查看环境变量export|grep LD_LIBRARY_PATH

declare -x LD_LIBRARY_PATH="/usr/local/lib"

重新../configure,还是报同样的错误。

3、查看configure文件,发现15450行出现,

  1. if test "$wxWin" != 1; then
  2. as_fn_error $? "
  3. wxWidgets must be installed on your system
  4. but either the wx-config script couldn't be found or
  5. no compatible wxWidgets configuration has been installed.
  6. Compatible wxWidgets configurations are the unicode builds
  7. of wxGTK, wxMac and wxMSW.
  8. Please check that wx-config is in path, the directory
  9. where wxWidgets libraries are installed (returned by
  10. 'wx-config --libs' command) is in LD_LIBRARY_PATH or
  11. equivalent variable and wxWidgets version is $MIN_WX_VERSION or above.
  12. " "$LINENO" 5
  13. fi

4、经过跟踪,发现15304行执行报错。

WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`

进行变量展开,得到如下形式:

WX_VERSION=`/usr/local/bin/wx-config --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base --version 2>/dev/null`

执行/usr/local/bin/wx-config --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base --version 2>/dev/null,得到空值。

执行/usr/local/bin/wx-config --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base --version,报错

  1. # /usr/local/bin/wx-config --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base --version
  2. Warning: No config found to match: /usr/local/bin/wx-config --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base --version
  3. in /usr/local/lib/wx/config
  4. If you require this configuration, please install the desired
  5. library build.  If this is part of an automated configuration
  6. test and no other errors occur, you may safely ignore it.
  7. You may use wx-config --list to see all configs available in
  8. the default prefix.

发现aui,xrc,adv,core,xml,net,base是wx安装的库文件,对应的是在/usr/local/lib目录下面的so文件。

运行/usr/local/bin/wx-config --list得到

Default config is gtk2-ansi-release-2.8

Default config will be used for output

运行/usr/local/bin/wx-config
--version示2.8.12。

【解决方案】

修改configure脚本,

将WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode=yes --universal=no aui,xrc,adv,core,xml,net,base"改成

WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args"

重新执行./configure脚本。该问题就解决了。

filezilla安装的更多相关文章

  1. [Windows Server 2012] Filezilla安装方法

    ★ 欢迎来到[护卫神·V课堂],网站地址:http://v.huweishen.com ★ 护卫神·V课堂 是护卫神旗下专业提供服务器教学视频的网站,每周更新视频. ★ 本节我们将带领大家:FileZ ...

  2. FTP工具-FileZilla安装使用教程

    1.首先,百度搜索“FileZilla”,进入官网,下载地址:https://www.filezilla.cn/download/client  ,根据自己电脑配置去下载 2.下载本地,双击运行安装程 ...

  3. FileZilla 安装配置参考

    http://www.admin10000.com/document/72.html 解决 NAT issue https://wiki.filezilla-project.org/Network_C ...

  4. linuxMint下安装ftp工具--filezilla

    windows下ftp工具有好多,linux下推荐用filezilla 安装filezilla很简单,安装完后,使用方式和windows下面一样. 第一种方式: 直接去filezilla官网下载软件包 ...

  5. 【filezilla】 ubuntu下安装filezilla

    sudo apt-get install filezilla '安装filezilla3.6.02 filezilla '执行filezilla

  6. 阿里云安装filezilla

    1.连接服务器 ssh 或者 远程连接 到服务器: 2.安装相应软件 安装EPEL,EPEL是yum的一个软件源,里面包含了许多基本源里没有的软件: yum -y install epel-relea ...

  7. vs2008编译FileZilla客户端源码

    vs2008编译FileZilla客户端源码 下载FileZilla客户端源码,下载地址https://download.filezilla-project.org/. FileZilla客户端解决方 ...

  8. fodera20安装后的配置

    最近安装了Fedora 20 64bit,以下是一些优化配置,使之更适合国人使用. 1,安装gnome-tweak-tool设置工具 Fedora 19自带的系统设置工具十分简单,一些重要的地方都不能 ...

  9. UBuntu安装配置记录

    记得是06年左右第一次安装的 Linux,当时是下载的 Fedora镜像,版本已经记不清了,在商业街的电脑维修店刻的盘,回来后兴冲冲地和XP一起安装的双系统.其实就是直接的体验了一把,只是看了看X-W ...

随机推荐

  1. sql: update from

    sql server提供了update的from 子句,可以将要更新的表与其它的数据源连接起来.虽然只能对一个表进行更新,但是通过将要更新的表与其它的数据源连接起来,就可以在update的表达式 中引 ...

  2. Boost::asio io_service 实现分析

    io_service的作用 io_servie 实现了一个任务队列,这里的任务就是void(void)的函数.Io_servie最常用的两个接口是post和run,post向任务队列中投递任务,run ...

  3. Swift - 常用文件目录路径获取(Home目录,文档目录,缓存目录等)

    当前位置: 首页 > 编程社区 > Swift > Swift - 常用文件目录路径获取(Home目录,文档目录,缓存目录等) Swift - 常用文件目录路径获取(Home目录,文 ...

  4. 使用SetLocaleInfo设置时间后必须调用广播WM_SETTINGCHANGE,通知其他程序格式已经更改

    uses messages; Procedure SetDateFormat; //设置系统日期格式var buf:pchar; i:integer; p:DWORD;begin getmem(buf ...

  5. JVM内存管理 (转)

    一.物理内存与虚拟内存1.物理内存                (1)RAM        所谓物理内存就是我们通常所说的RAM(随机存储器).        (2)寄存器        在计算机中 ...

  6. Oracle表连接总结

    1 简述 1) 两个表的连接,是通过将一个表中的一列或者多列同另一个表中的列链接而建立起来的.用来连接两张表的表达式组成了连接条件.当连接成功后,第二张表中的数据就同第一张表连接起来了,并形成了复合结 ...

  7. ResourceManager架构解析

    RM作为master管理着所有的集群资源,它会和NM和特定application的AM共同工作 1. NodeManagers NM从RM中获得指令,并管理着单节点上可用资源 2. Applicati ...

  8. 一起来开发Android的天气软件(三)——使用Volley实现网络通信

    距离上一篇一起来开发Android天气软件二的时间又将近半个月了,之间一直由于有事而没有更新实在抱歉,近期会加快更新的步伐.争取在2015年到来前写完这系列的博文,上一章我们已经使用LitePal框架 ...

  9. Net 并行知识学习

    园子里有很多介绍并行库TPL的这里列举2个 1 并行之Task讲解:http://www.cnblogs.com/yanyangtian/archive/2010/05/21/1741193.html ...

  10. 打开excel2007文档时显示“excel无法打开文件~$book.xltm”

    此问题的出现是因为意外情况导致Excel临时文件没有删掉,把C:\Program Files\Microsoft Office\Office12\XLSTART里面的临时文件“~$book”给删除就好 ...