View Full Version : symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:
Apr 30th 2010, 02:17 PM
Many programs doesn't start because there have a problem with /usr/lib/libXi.so.6.
For example result from firefox start:
/usr/lib/firefox-3.6.3/firefox-bin: symbol lookup error: /usr/lib/libXi.so.6: undefined symbol: XESetWireToEventCookie
Kubuntu installer return similar:
~$ Traceback (most recent call last):
File "/usr/bin/install-package", line 26, in <module>
from PyKDE4.kdeui import KApplication, KMainWindow
ImportError: /usr/lib/libXi.so.6: undefined symbol: XESetWireToEventCookie
Apr 30th 2010, 10:05 PM
Find the version of libxi6 by typing
sudo aptitude show libxi6
This will also tell you what the dependencies are. Do the same thing for libx11-6 and libxext6 and libc6. We're just making sure that these dependencies are the correct version.
Post the output of:
and tell us if you find any discrepancies in the versions of the libs above.
May 2nd 2010, 09:16 PM
Thanks for help. Result from last command was:
~$ ldd /usr/lib/libXi.so.6
linux-gate.so.1 => (0x00d18000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x007a4000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0x00ad2000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00912000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0026a000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x00610000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x00396000)
The problem was the fact that the libraries libX are looking in /usr/local/lib not in /usr/lib . I try to remove libraries located in /usr/local and it works. Can you give me info how to configure system to search for library first in /usr/lib.
May 3rd 2010, 01:07 AM
I believe they're setup via symbolic links in which case you can issue
sudo ln -s /usr/lib/libX11.so.6 libX11.so.6
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.