[Xcb] What happened to libxcb-xlib?

David Ronis ronis at ronispc.chem.mcgill.ca
Wed Apr 1 13:10:49 PDT 2009


Hi Julien,

I wrote a small script to run objdump -p | grep NEEDED | grep xcb-xlib
on all the files in my gnome/lib and /usr/lib--whether they are really
needed.  I get hits in most of the key libs.   

David



On Wed, 2009-04-01 at 18:02 +0200, Julien Cristau wrote:
> On Wed, 2009-04-01 at 11:28 -0400, David Ronis wrote:
> > Hi Julien,
> > 
> > 
> > Thanks for the reply.   I encountered this problem tying to
> > build/install the git master version of xorg from scratch.  As far as I
> > understand , libX11 was built/installed as well.  I think that the
> > problem is that most of the preexisting applications built on my system
> > (e.g., Gnome + friends, firefox, ...) seem to have explicitly linked in
> > libxcb-xlib (as well as libX11).  As well, it seems that most of the
> > gnome libraries (gtk+) also explictly require it;  for example, 
> > 
> > ldd libgtk-x11-2.0.so | grep xcb
> >         libxcb-xlib.so.0 => /usr/X11/lib/libxcb-xlib.so.0 (0xb792f000)
> >         libxcb.so.1 => /usr/X11/lib/libxcb.so.1 (0xb7917000)
> > 
> ldd doesn't tell you whether a lib is directly required.  Try "objdump
> -p libgtk-x11-2.0.so | grep NEEDED" instead.
> There's really no reason for anything besides libX11 to be linked with
> libxcb-xlib, except for libtool being stupid.
> 
> Cheers,
> Julien
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> 


More information about the Xcb mailing list