再次启动Earth中文显示好了,但是一会儿就崩溃了。结合崩溃后的stacktrace:
- Stacktrace from glibc:
- /usr/lib/googleearth/libgoogleearth_free.so(+0xd090b)[0xae590b]
- [0x34a400]
- /usr/lib/googleearth/libIGGfx.so(+0x1296c9)[0x54556c9]
- /usr/lib/googleearth/libIGGfx.so(FreeImage_LoadFromHandle+0xb1)[0x54432c1]
- /usr/lib/googleearth/libIGGfx.so(_ZN3Gap3Gfx7igImage21platformLoadFreeImageEPNS_4Core6igFileEbPNS0_19igImageMetaDataListE+0xa1)[0x542d4b1]
- /usr/lib/googleearth/libIGGfx.so(_ZN3Gap3Gfx10igOglImage12platformLoadEPNS_4Core6igFileEPNS0_19igImageMetaDataListE+0x112)[0x542dbb2]
- /usr/lib/googleearth/libIGGfx.so(_ZN3Gap3Gfx7igImage8loadFileEPNS_4Core6igFileEPNS0_19igImageMetaDataListE+0x12d)[0x541e1ad]
按这个帖子的方法,安装系统发行的libfreeimage3,然后用
env LD_PRELOAD=/usr/lib/libfreeimage3 googleearth启动Earth就可以正常启动了。中文显示和输入也没有问题。