无法在CentOS 6.5中打开WireShark

我已经在CentOS 6.5中使用Yum安装了WireShark。

Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: wireshark x86_64 1.8.10-8.el6_6 updates 11 M wireshark-devel x86_64 1.8.10-8.el6_6 updates 905 k wireshark-gnome x86_64 1.8.10-8.el6_6 updates 855 k Installing for dependencies: glib2-devel x86_64 2.28.8-4.el6 base 299 k libsmi x86_64 0.4.8-4.el6 base 2.4 M Updating for dependencies: glib2 i686 2.28.8-4.el6 base 1.7 M glib2 x86_64 2.28.8-4.el6 base 1.7 M 

当我试图打开它,我得到这个错误

 [root@localhost ~]# wireshark wireshark: symbol lookup error: wireshark: undefined symbol: gtk_combo_box_text_new_with_entry [root@localhost ~]# 

有人可以帮我解决这个问题吗?

这是EL6.5中gtk2版本的bug /问题 。

您发行版中的当前版本为:gtk2-2.20.1-4.el6.x86_64,但gtk2-2.24需要gtk_combo_box_text_new_with_entry。

你可能只是yum update gtk2从CentOS 6.6(或更新你的整个系统)获取版本,以使事情工作。