On 08/20/2011 03:00 PM, Thomas Benko wrote:
> Hail!
> I try to compile GTK+2.20.1, but it fails with
> /usr/lib/libxcb-xlib.so: undefined reference to `_xcb_unlock_io`
> /usr/lib/libxcb-xlib.so: undefined reference to `_xcb_lock_io`
> error. I don't know, what to do, google didn't helped me, because the
> solution I found with it was to freshen libxcb to 1.4. But I use
> libxcb1.7... :(
> What can I do now?
>

That was an ABI change in libxcb. I take it you upgraded in place from 
1.3? Unfortunately, the solution was to remove a good portion of xorg 
and related libs and then reinstall (basically anything that links to 
libxcb-xlib.so). I had a thread on it in BLFS-Dev a few years back, but 
am unable to find it. The newer libxcb does not create libxcb-xlib (but 
old is left in place and is scattered about through a bunch of libtool 
archives. Removing it does no good as you'll simply break xorg 
completely. I realize it isn't much help, but that is what needs to 
happen. Backup first so you can quickly return from where you started if 
something goes terribly awry.

Here is a gentoo guide to assist, but I'm not sure how relevant it is 
now days...it's been a long time since I've had to deal with it (I'm 
thinking late 2007 or early 2008).
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml
In fact..it looks a little specific to gentoo. They had libxcb-xlib 
emulation patches for a while. Basically it amounts to removing 
libxcb-xlib (all archives, pc file, etc) and everything linked to it and 
re-install).

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to