Announcement

Collapse
No announcement yet.

symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:

    Many programs doesn't start because there have a problem with /usr/lib/libXi.so.6.
    For example result from firefox start:

    ~$ firefox
    /usr/lib/firefox-3.6.3/firefox-bin: symbol lookup error: /usr/lib/libXi.so.6: undefined symbol: XESetWireToEventCookie


    Kubuntu installer return similar:
    kubuntu-firefox-installer
    ~$ 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

    #2
    Re: symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:

    Find the version of libxi6 by typing
    Code:
    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:
    Code:
    ldd /usr/lib/libXi.so.6
    and tell us if you find any discrepancies in the versions of the libs above.

    Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
    Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
    Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

    Comment


      #3
      Re: symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:

      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)
      /lib/ld-linux.so.2 (0x00528000)
      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.

      Comment


        #4
        Re: symbol lookup error: /usr/lib/libXi.so.6: undefined symbol:

        I believe they're setup via symbolic links in which case you can issue
        Code:
        sudo ln -s /usr/lib/libX11.so.6 libX11.so.6
        Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
        Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
        Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

        Comment

        Working...
        X