Home Training and Tutorials Linux x64 Distro Use lib32

Linux x64 Distro Use lib32

139

arch64 发行ÃâàÂÆâË£ÖÈÖçÃΩÆ32位库Ã≠âÈóÆÈ¢ò„ÄÇËߣÂÜ≥‰∫ÜÂåÖÊã¨Â§©Êúù‰∫∫Âú®ÊÑèÃöÑibus,qq,fetionÃ≠âÈóÆÈ¢ò„ÄÇ
本文以archlinux x64 发行Ãâà‰âˆâˆ«â€°Ã¦Ã£Ã‚Åö‰∫õ‰ªãêç„ÄÇ

安装lib32包
pacman -S lib32

之后执行语句
cat /etc/gtk-2.0/gtk.immodules | sed “s|/usr/lib/gtk-2.0/|/opt/lib32/usr/lib/gtk-2.0/|g” > /etc/gtk-2.0/gtk.immodules.32

‰øÆÊîπîãÂ∫èÊâßË°åËÑöÊú¨Ôºå¶ÇQQ, fetionÃ≠âîãÂ∫è„ÄÇ
==========
#!/bin/sh

# lib32ÃéØ¢ÉÂèòÈáè
GCONV_PATH=/opt/lib32/usr/lib/gconv/
GDK_PIXBUF_MODULE_FILE=/opt/lib32/config/gdk/gdk-pixbuf.loaders
GTK_IM_MODULE_FILE=/etc/gtk-2.0/gtk.immodules.32
GTK_PATH=/opt/lib32/usr/lib/gtk-2.0/
LD_LIBRARY_PATH=”/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH”
PANGO_RC_FILE=/opt/lib32/config/pango/pangorc
export GCONV_PATH GDK_PIXBUF_MODULE_FILE GTK_IM_MODULE_FILE GTK_PATH LD_LIBRARY_PATH PANGO_RC_FILE

cd /usr/share/tencent/qq/
./qq

===========

Ãé∞Âú®ËØï‰âˆÃ„‰âˆÃ£ÃŠÃ¯Ã ÃŠÃ»ÃºÃ‚êßÔºÅ