分类: LINUX
2009-11-29 01:12:43
I use to keep contact with my classmates. Tencent provides
Linux version, but all the are for 32bit
architecture. We can force to install the package ignoring
unmatched architecture, then install required 32bit version libraries
for . But these steps are not enough after upgrading to
9.04 64bit, because a new Gtk
module canberra
is
added. The new module has no corresponding 32bit library in apt
repository. However, this module is not essential. It just adds sound
for various events. To make QQ work, we can remove the module.
Download deb package from the official . Now
the latest version is . Option
--force-architecture
is required to install this 32bit package on
64bit system.
$ wget
$ sudo dpkg --force-architecture -i linuxqq_v1.0.2-beta1_i386.deb
for Linux is 32bit application, so it must link 32bit
libraries. Fortunately, all the libraries can be installed from apt
repository.
$ sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32stdc++6 lib32asound2
Gtk
ModuleIn previous version of , QQ should work now. But in 9.04, QQ
complaints that the library canberra
ELF is 64bit, which cannot been
used in 32bit QQ. Because the Gtk
module canberra
is new
added. This module automatically hooks into all kinds of events inside
a Gtk+
program and generate sound events from them. Because it’s not
very important for me, I just remove it to make QQ work.
$ sudo apt-get remove --purge libcanberra-gtk-module
After logging out and logging in again, QQ should work now.
原文地址:
有些时候,qq老是会自动关闭,比如我们按alt+s发送信息,不知道是ibus( or scim )的原因还是qq的问题,有人说是新的gtk所引起的问题,按网络上的说法,如下配置一下便可解决此问题:
$sudo gedit /usr/bin/qq
输入如下内容
!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq
一切就ok了。