You are not logged in.
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
XESetWireToEventCookie should be defined in libX11.so. Which version of libx11 do you have?
Offline
thank you for your help
pacman -Ss libx11
extra/libx11 1.4.0-1 [installed]
Offline
Weird. What's the output of "ldd $(which java)"?
Offline
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:
thanks
Offline
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
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