64位Ubuntu下运行某程序时碰到找不到动态库的问题

64位Ubuntu下运行某程序时碰到找不到动态库的问题

问题点如下:
nick@sapphire:~$ bcompare
Some Shared Libraries were not found
        linux-gate.so.1 =>  (0xf77cf000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7799000)
        libqtc.so.1 => /usr/lib/beyondcompare/libqtc.so.1 (0xf7283000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf714e000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7145000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7129000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7124000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6f74000)
        libqt-mt.so.3 => /usr/lib/beyondcompare/libqt-mt.so.3 (0xf6860000)
        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf684d000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6764000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf671e000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6701000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf66de000)
        /lib/ld-linux.so.2 (0xf77d0000)
        libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf66d3000)
        libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf66c8000)
        libXcursor.so.1 => not found
        libXinerama.so.1 => not found
        libXft.so.2 => not found
        libfreetype.so.6 => not found
        libfontconfig.so.1 => not found
        libSM.so.6 => not found
        libICE.so.6 => not found
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf66c2000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf66bb000)
nick@sapphire:~$

解决方法如下(按下面格式安装这些动态库):
sudo apt-get install libXcursor1:i386 libXinerama1:i386 libXft2:i386 libfreetype6:i386 libfontconfig1:i386 libSM6:i386 libICE6:i386


libXft.so.2 => not found
sudo apt-get install libXft 2 :i386 ===> 注意格式。

你可能感兴趣的:(Android开发环境搭建,Linux驱动开发,Android开发)