2011年10月20日 星期四

Google earth在Debian squeeze 32bit 中文出不來

Google附的Qt4函式庫的問題,改用系統內建的就好了。

先把Google附的砍掉

Google附的Qt4lib裝在 /opt/google/earth/free/目錄下, 有四個檔:
libQtCore.so.4, libQtGui.so.4, libQtNetwork.so.4, libQtWebKit.so.4
全砍掉, 然後再改 /opt/google/earth/free/googleearth
找到以下這行:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
再之前加上這行
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
就好了。

(註: 要安裝sudo aptitude install libfreeimage3)

via: http://blog.slps.tp.edu.tw/00086/?p=275

沒有留言: