搜索
查看: 1216|回复: 0

ubuntuqq

[复制链接]

183

主题

8

回帖

820

积分

高级会员

积分
820
发表于 2014-8-14 16:10:46 | 显示全部楼层 |阅读模式
如果ubuntu安装的64位的,在其中安装32位软件时就会碰到缺失libgtk-x11-2.0.so的情况

比如用wine安装qq时 启动qq时就会报这样的错误

error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

网上的解决方法

sudo apt-get install ia32-libs ia32-libs-gtk

但是又出现一下错误提示:

sudo apt-get install ia32-libs
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘ia32-libs’ has no installation candidate

于是又搜索,知道要添加以前版本的源,然后就行了

下面是添加源的方法:

方法1:

  sudo gedit /etc/apt/sources.list

  然后在最后添加上: deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse

方法2:

    终端中输入:

       echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >> sudo gedit /etc/apt/sources.list

还有其他添加本地源的方法,可以参考:http://hi.baidu.com/android4/item/6c0f962351a7ec102b0f1cac

添加完源之后

   sudo apt-get update

   sudo apt-get install ia32-libs ia32-libs-gtk

这样就应该可以了

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

本版积分规则

 
 
大数据行业交流
大数据行业交流
大数据求职招聘
大数据求职招聘
站长电话:
15010106923
微信联系:
hb-0310
站长邮箱:
ab12-120@163.com
大数据中国微信

QQ   

版权所有: Discuz! © 2001-2013 大数据.

GMT+8, 2024-5-16 14:47 , Processed in 0.059525 second(s), 24 queries .

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