Re: [Xcb] [RFC PATCHv2] New XCB socket handoff mechanism for Xlib/XCB and other libraries

2008-05-09 Thread Julien Cristau
On Thu, May  1, 2008 at 12:07:18 +0100, Colin Guthrie wrote:

> Just a simple example (there are lots of other apps like this):
> [EMAIL PROTECTED] ~]$ ldd /usr/bin/compiz| grep xcb
>   libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x2b6192005000)
>   libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x2b61940f2000)
>   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x2b61942f3000)
> 
This simple example is also wrong.  You want
objdump -p $foo | grep NEEDED
not ldd.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Xcb] [RFC PATCHv2] New XCB socket handoff mechanism for Xlib/XCB and other libraries

2008-05-01 Thread Mikhail Gusarov
Twas brillig at 20:48:56 01.05.2008 UTC-04 when James Cloos did gyre and gimble:

 JC> A lot of other binaries on my box needed rebuilding as they directly
 JC> referenced libxcb-xlib.so.0.

It is bug in packaging, called 'overlinking' and usually caused by
installing libtool .la files. Here is one spectacular example:
http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html

-- 


pgpVtEMlT5k5B.pgp
Description: PGP signature


Re: [Xcb] [RFC PATCHv2] New XCB socket handoff mechanism for Xlib/XCB and other libraries

2008-05-01 Thread James Cloos
> "Julien" == Julien Cristau <[EMAIL PROTECTED]> writes:

Julien> Why would you need to rebuild anything?  This change doesn't
Julien> affect the Xlib ABI, so this shouldn't affect anything beyond
Julien> libxcb and libX11 afaict (unless you're installing .la files,
Julien> but then you've already lost anyway).

A lot of other binaries on my box needed rebuilding as they directly
referenced libxcb-xlib.so.0.  An example I have yet to rebuild:

,[ readelf -d /usr/bin/autotrace|grep xcb-xlib ]
|  0x0001 (NEEDED)Shared library: [libxcb-xlib.so.0]
`

That may also be so for Mandriva.

OTOH, now that you mention it, going back to the current git master of
libxcb and libX11 shouldn't require rebuilding everything yet again, yes?

-JimC
-- 
James Cloos <[EMAIL PROTECTED]> OpenPGP: 1024D/ED7DAEA6


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]