zoukankan      html  css  js  c++  java
  • ubuntu qq

    假设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

    这样就应该能够了


    常遇到QQ图标不能点击,运行以下脚本重新启动后可修复:

    ps -ef | grep tm2013 | awk '{print $2}' | xargs kill -9
    nohup tm2013 >/dev/null 2>&1 &



  • 相关阅读:
    stack.pop()和stack.peek()的区别
    信号与系统,系统函数的影响
    java中short、int、long、float、double取值范围
    Spring从容器获得组件的方法
    Eclipse中项目的类路径文件夹
    Math的常用方法
    spring基本入门步骤
    opencv入门
    make和cmake构建工具
    使用eclipse开发c++程序及开发环境搭建
  • 原文地址:https://www.cnblogs.com/wzjhoutai/p/7162302.html
Copyright © 2011-2022 走看看