This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgif depends on X11


On 10/15/2012 1:21 AM, Corinna Vinschen wrote:
> On Oct 14 18:45, Daniel Colascione wrote:
>> $ ldd /bin/cyggif-4.dll
>>         ntdll.dll => /Windows/SysWOW64/ntdll.dll (0x7de70000)
>>         kernel32.dll => /Windows/syswow64/kernel32.dll (0x7dd60000)
>>         KERNELBASE.dll => /Windows/syswow64/KERNELBASE.dll (0x7d850000)
>>         cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0xc3c70000)
>>         cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
>>         cygX11-6.dll => /usr/bin/cygX11-6.dll (0xc4e90000)
>>         cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0xc02f0000)
>>         cygXau-6.dll => /usr/bin/cygXau-6.dll (0xc4e70000)
>>         cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0xc4dd0000)
>>         ??? => ??? (0x580000)
>>
>> Why would libgif depend on X11? The symbols imported are XGetImage,
>> XGetWindowAttributes, and XQueryColors.
> 
> Same as on Linux:
> 
>   $ ldd /lib64/libgif.so.4
> 	  linux-vdso.so.1 =>  (0x00007fffffbff000)
> 	  libSM.so.6 => /lib64/libSM.so.6 (0x0000003fbdc00000)
> 	  libICE.so.6 => /lib64/libICE.so.6 (0x0000003fbe000000)
> 	  libX11.so.6 => /lib64/libX11.so.6 (0x0000003fb3800000)
> 	  libc.so.6 => /lib64/libc.so.6 (0x0000003faf800000)
> 	  libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003fb9c00000)
> 	  libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003fb3c00000)
> 	  libdl.so.2 => /lib64/libdl.so.2 (0x0000003fb0400000)
> 	  /lib64/ld-linux-x86-64.so.2 (0x0000003faf400000)
> 	  libXau.so.6 => /lib64/libXau.so.6 (0x0000003fb3400000)
> 

Not on Debian stable at least:

$ ldd /usr/lib/libgif.so.4.1
        linux-gate.so.1 =>  (0xf7791000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf763a000)
        /lib/ld-linux.so.2 (0xf7792000)

According to NEWS, giflib gained a configure option for disabling X11 support in
4.1.5. The X dependency in giflib appears to be there for capturing an X window
as a GIF file. I somehow doubt this functionality would be missed.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]