找回密码
 立即注册
查看: 1757|回复: 0

在centos的图形界面gnome中安装thunderbird手记

[复制链接]

6806

主题

10

回帖

2万

积分

管理员

积分
21879
发表于 2019-5-20 20:13:35 | 显示全部楼层 |阅读模式
因为正式开始学习linux了,但同时又需要在网上一边查找资料一边学习,所以,安装了带有桌面系统gnome的centos,安装系统的时候,我选择的是minial desktop,也就是仅仅带有一个简单的桌面,这样,可以一边在命令提示行中进行各种学习,一边遇到困难可以查询资料。既然带有桌面,就需要安装一些常用的必备工具了。所以,安装最常用的邮件收发工具thunderbird

thunderbird是一款不错的邮件收发工具,而且支持linux。

首先,需要去mozilla网站下载这款软件,下载之后安放在你希望所在到位置。然后解压缩。

解压缩之后,进入到该软件所在的目录。 双击thunder文件并无反映。于是,切换到命令行中执行如下命令:

[gavin@gavin thunderbird]$ ./thunderbird

期间提示了N多的错误,记录如下。

一、提示缺少啥文件共享包来着,忘记了,好像是gtk++.so.2?,当初没有做详细的记录,但完全可以参考下面的解决办法。我是在遇到第一个问题未作记录之后,才想起写篇文章记录一下安装过程的。这个问题是需要安装glibc.i368,64位系统自带有glibc.i686,但是不行,仍需要安装glibc.i386



二、提示缺少libstdc++.so.6,

解决办法:
1、执行命令: yum whatprovides libstdc++.so.6

然后会提示哪个安装包有这个库文件如下:

[root@gavin thunderbird]# yum whatprovides libstdc++.so.6
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
              : versionlock
Loading support for CentOS kernel ABI
Loading mirror speeds from cached hostfile
  * base: centos.ustc.edu.cn
  * centosplus: centos.ustc.edu.cn
  * contrib: centos.ustc.edu.cn
  * extras: centos.ustc.edu.cn
  * updates: centos.ustc.edu.cn
libstdc++-4.4.7-11.el6.i686 : GNU Standard C++ Library
Repo        : base
Matched from:
Other      : libstdc++.so.6

2、然后执行:

yum install libstdc++-4.4.7-11.el6.i686

搞定!

三、又提示 缺少libxrender.so.1,仍然按照老办法,

[root@gavin thunderbird]# yum whatprovides libXrender.so.1
已加载插件:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
libXrender-0.9.8-2.1.el6.i686 : X.Org X11 libXrender runtime library
Repo        : base
匹配来自于:
Other       : libXrender.so.1

[root@gavin thunderbird]# yum install libXrender-0.9.8-2.1.el6.i686

四、提示缺少 libasound.so.2

[root@gavin thunderbird]# yum whatprovides libasound.so.2
已加载插件:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
alsa-lib-1.0.22-3.el6.i686 : The Advanced Linux Sound Architecture (ALSA)
                           : library
Repo        : base
匹配来自于:
Other       : libasound.so.2

[root@gavin thunderbird]# yum install alsa-lib-1.0.22-3.el6.i686


五、提示缺少libdbus-glib-1.so.2

[root@gavin thunderbird]# yum whatprovides libdbus-glib-1.so.2
已加载插件:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
dbus-glib-0.86-6.el6.i686 : GLib bindings for D-Bus
Repo        : base
匹配来自于:
Other       : libdbus-glib-1.so.2

[root@gavin thunderbird]# yum install dbus-blib-0.86-6.el6.i686


六、提示缺少 libgtk-x11-2.0.so.0

[root@gavin thunderbird]# yum whatprovides libgtk-x11-2.0.so.0
已加载插件:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
gtk2-2.24.23-6.el6.i686 : The GIMP ToolKit (GTK+), a library for creating GUIs
                        : for X
Repo        : base
匹配来自于:
Other       : libgtk-x11-2.0.so.0

[root@gavin thunderbird]# yum install gtk2-2.24.23-6.el6.i686

七、提示缺少 libXt.so.6

[root@gavin thunderbird]# yum whatprovides libXt.so.6
已加载插件:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirror.bit.edu.cn
libXt-1.1.4-6.1.el6.i686 : X.Org X11 libXt runtime library
Repo        : base
匹配来自于:
Other       : libXt.so.6

[root@gavin thunderbird]# yum install libXt-1.1.4-6.1.el6.i686


八、再次运行:[gavin@gavin thunderbird]$ ./thunderbird ,提示如下:

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,

(thunderbird:4069): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“clearlooks”,
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "pk-gtk-module"

但是,thunderbird终于可以运行了,配置好邮箱账户之后,可以正常收发邮件了。

总结:在安装软件的过程中,如果提示缺少某某文件库,那么,运行 yum whatprovides xxxx,寻找到包含那个共享库的程序,安装就OK了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表