You are not logged in.

#1 2010-12-10 07:31:59

riczan
Member
Registered: 2010-12-08
Posts: 14

symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

Dear All,

After a recent update, I have problems with libXi. I get the following error while trying to plot something with gnuplot:

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

I get a similar error when trying to run a java application:

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

Something looks broken. I tried downgrading libXi to the previous version 1.3.2-1:

pacman -U libxi-1.3.2-1-i686.pkg.tar.xz

but that didn't help. I'm now back on version 1.4.0-1

Any suggestions are greatly appreciated. This is my first post to this forum so bare with me. I've been a gentoo user for quite sometime but I'm trying a binary distro for obvious reasons.

This also looks like a bug for I haven't done anything strange. This is a newish installation and all I do every week or so is pacman -Syu as suggested in the beginner handbook. I'm surprised no one else has posted this problem... is it really just me?. There are some old post on this issue but there was no solution there other than downgrading which I have already tried.

I've just realized that not even okular works!!! Why am I being punished?

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

Thanks.

Last edited by riczan (2010-12-10 17:36:49)

Offline

#2 2010-12-10 07:42:16

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

XESetWireToEventCookie should be defined in libX11.so.  Which version of libx11 do you have?

Offline

#3 2010-12-10 16:41:33

riczan
Member
Registered: 2010-12-08
Posts: 14

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

thank you for your help

pacman -Ss libx11
extra/libx11 1.4.0-1 [installed]

Offline

#4 2010-12-10 16:50:30

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

Weird.  What's the output of "ldd $(which java)"?

Offline

#5 2010-12-10 17:04:53

riczan
Member
Registered: 2010-12-08
Posts: 14

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

ldd $(which java)
        linux-gate.so.1 =>  (0xb7783000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb774b000)
        libjli.so => /opt/java/jre/bin/../lib/i386/jli/libjli.so (0xb7742000)
        libdl.so.2 => /lib/libdl.so.2 (0xb773e000)
        libc.so.6 => /lib/libc.so.6 (0xb75f2000)
        /lib/ld-linux.so.2 (0xb7784000)

and if it helps, here is the same thing for gnuplot:

http://pastebin.com/Uheb1xi9

thanks

Offline

#6 2010-12-10 17:18:43

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

Haha turns out the gnuplot output is way more helpful, thanks for it.  Notice how libX11 is resolved to a library in your home directory:

libX11.so.6 => /home/zanmar/astro/idl/lib/libX11.so.6 (0xb66bc000)

Which means that /home/zanmar/astro/idl/lib has probably been added to LD_LIBRARY_PATH.  That libX11 is too old, causing the dynamic link error.

Offline

#7 2010-12-10 17:36:09

riczan
Member
Registered: 2010-12-08
Posts: 14

Re: symbol lookup error in libXi.so.6 crashes several packages [SOLVED]

Thanks a lot

Your the man.

I have an old IDL software that requires old libraries. I was redefining the LD_LIBRARY_PATH but should only do so in the terminal that is running IDL.

I took it out of the .bashrc.

SOLVED

Thanks again.
R

Offline

Board footer

Powered by FluxBB