2017年6月30日

bpi error undefined symbol: XRRGetMonitors

bleachbit 無法執行,出現錯誤訊息

Traceback (most recent call last):
  File "/usr/bin/bleachbit", line 40, in <module>
    import gtk
  File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
ImportError: /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0: undefined symbol: XRRGetMonitors
root@bpi-iot-ros-ai:~# sudo apt-get install ia32-libs
E: 無法將 /var/lib/dpkg/lock 鎖定 - open (11: 資源暫時無法取得)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


依據http://forum.banana-pi.org/t/wicd-dont-work-on-the-new-ubuntu-16-04-2016-07-21/2127
解法如下:
$ ldd /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0 | grep libXrandr
libXrandr.so.2 =>/usr/local/XSGX/lib/libXrandr.so.2.0
$ cd /usr/local/XSGX/lib
$ sudo mv libXrandr.so.2.0 libXrandr.so.2.0.bak
 
張貼留言