如何在centos7上安装thunderbird 31.4

如何在centos7上安装thunderbird 31.4

我正在尝试在centos7上安装thunderbird 31.4。

我做了什么:

  1. 从该链接下载:雷鸟页面
  2. 焦油 -xvjf .....
  3. CD 雷鸟; ./雷鸟

错误:

bash: ./thunderbird: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

比;我安装了 32 位库:

  1. yum -y 安装 glibc.i686
  2. 尝试再次运行 ./thunderbird...

新错误:

./thunderbird: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

比,我安装的这些共享库丢失了

  1. 百胜安装 libstdc++.i686
  2. 尝试再次运行./thunderbird......

新错误:

XPCOMGlueLoad error for file /opt/thunderbird/libxul.so:
libXrender.so.1: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

所以我已经安装了这些软件包(使用 yum whatprovides 查找错误库)

yum install libXrender-0.9.8-2.1.el7.i686
yum install alsa-lib-1.0.27.2-3.el7.i686
yum install dbus-glib-0.100-7.el7.i686

然后,我尝试再次执行雷鸟,并出现新错误:

XPCOMGlueLoad error for file /opt/thunderbird/libxul.so:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or irectory
Couldn't load XPCOM.

所以我跑:

yum whatprovides libgtk-x11-2.0.so.0

而不是尝试安装提供这些库的内容:

 yum install gtk2-2.24.22-5.el7.i686

在 yum 上出现以下错误:

--> Finished Dependency Resolution
Error:  Multilib version problems found. This often means that the root
   cause is something else and multilib version checking is just
   pointing out that there is a problem. Eg.:

     1. You have an upgrade for gtk2 which is missing some
        dependency that another package requires. Yum is trying to
        solve this by installing an older version of gtk2 of the
        different architecture. If you exclude the bad architecture
        yum will tell you what the root cause is (which package
        requires what). You can try redoing the upgrade with
        --exclude gtk2.otherarch ... this should give you an error
        message showing the root cause of the problem.

     2. You have multiple architectures of gtk2 installed, but
        yum can only see an upgrade for one of those architectures.
        If you don't want/need both architectures anymore then you
        can remove the one with the missing update and everything
        will work.

     3. You have duplicate versions of gtk2 installed already.
        You can use "yum check" to get yum show these errors.

   ...you can also use --setopt=protected_multilib=false to remove
   this checking, however this is almost never the correct thing to
   do as something else is very likely to go wrong (often causing
   much more problems).

   Protected multilib versions: gtk2-2.24.22-5.el7.i686 != gtk2-2.24.22-5.el7_0.1.x86_64    

答案1

在 CentOS 7 上安装 Thunderbird 最简单的方法(我发现):

su
yum install epel-release
yum search thunderbird
yum install thunderbird.(which ever version listed suits your platform)

epel-release 是 Enterprise Linux 的额外软件包,包含最新的 Thunderbird(今天为 31.4)

雷鸟列表如下:
http://dl.fedoraproject.org/pub/epel/7/SRPMS/repoview/applications.internet.group.html

答案2

yum install libXrender.i686

对于更多缺少的库,请尝试

yum whatprovides <filename>

您很可能想通过调用来安装最常见的 32 位库,通常称为 ia32libs

yum -y install --skip-broken glibc.i686 arts.i686 audiofile.i686 bzip2-libs.i686 cairo.i686 cyrus-sasl-lib.i686 dbus-libs.i686 directfb.i686 esound-libs.i686 fltk.i686 freeglut.i686 gtk2.i686 hal-libs.i686 imlib.i686 lcms-libs.i686 lesstif.i686 libacl.i686 libao.i686 libattr.i686 libcap.i686 libdrm.i686 libexif.i686 libgnomecanvas.i686 libICE.i686 libieee1284.i686 libsigc++20.i686 libSM.i686 libtool-ltdl.i686 libusb.i686 libwmf.i686 libwmf-lite.i686 libX11.i686 libXau.i686 libXaw.i686 libXcomposite.i686 libXdamage.i686 libXdmcp.i686 libXext.i686 libXfixes.i686 libxkbfile.i686 libxml2.i686 libXmu.i686 libXp.i686 libXpm.i686 libXScrnSaver.i686 libxslt.i686 libXt.i686 libXtst.i686 libXv.i686 libXxf86vm.i686 lzo.i686 mesa-libGL.i686 mesa-libGLU.i686 nas-libs.i686 nss_ldap.i686 cdk.i686 openldap.i686 pam.i686 popt.i686 pulseaudio-libs.i686 sane-backends-libs-gphoto2.i686 sane-backends-libs.i686 SDL.i686 svgalib.i686 unixODBC.i686 zlib.i686 compat-expat1.i686 compat-libstdc++-33.i686 openal-soft.i686 alsa-oss-libs.i686 redhat-lsb.i686 alsa-plugins-pulseaudio.i686 alsa-plugins-oss.i686 alsa-lib.i686 nspluginwrapper.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686

答案3

解决方案是:

我安装了所有这些 32 位软件包:

yum -y install glibc.i686  libstdc++.i686 libXrender-0.9.8-2.1.el7.i686 alsa-lib-1.0.27.2-3.el7.i686 dbus-glib-0.100-7.el7.i686 gtk2.i686 libXt-1.1.4-6.1.el7.i686

我将 gtk2-2.24.22-5.el7.i686 包更改为 gtk2.i686,以免出现库冲突的错误。

Christian Bock的回答:我认为它也可以解决在CentOS7上安装thunderbird 31.4的问题,但只需要这里的这些软件包来运行thunderbird。

克里斯蒂安·博克(Christian Bock)的评论;通过查看哪些包提供了该库,也有助于解决这些问题:

yum whatprovides libraryName 

相关内容