emacs-w32 not starting - libgd3 problem

Ken Brown kbrown@cornell.edu
Sun Aug 21 23:33:00 GMT 2016


On 8/21/2016 11:24 AM, Marco Atzeri wrote:
> On 20/08/2016 18:54, Ken Brown wrote:
>> On 8/20/2016 9:41 AM, Marco Atzeri wrote:
>>> On 20/08/2016 04:52, Ken Brown wrote:
>>>> On 8/19/2016 4:03 PM, Ken Brown wrote:
>>>>> On 8/19/2016 11:22 AM, Ken Brown wrote:
>>>>>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>>>>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>>>>>> Hi all,
>>>
>
>>>
>>> It seems more a libgd3 build problem.
>>> Specially if it happens only on 32bit and not on 64bit.
>>
>> The difference between 32-bit and 64-bit is due to differences in
>> ImageMagick on the two platforms.
>>
>> On 32-bit, as I showed in an earlier message, I get:
>>
>> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
>> [...]
>>         DLL Name: cyggd-3.dll
>>         vma:  Hint/Ord Member-Name Bound-To
>>         48ee2c      8  WebPDecode
>> [...]
>>
>> On 64-bit, I get:
>>
>> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
>> [...]
>>         DLL Name: cygwebp-5.dll
>>         vma:  Hint/Ord Member-Name Bound-To
>> [...]
>>         48096c    271  WebPDecode
>> [...]
>>
>> Moreover, libMagickCore6_2 depends on libgd3 on 32-bit but not 64-bit.
>> So it seems that ImageMagick needs to be rebuilt on 32-bit so as to
>> remove this dependency.
>>
>> Ken
>>
>
> Hi Ken,
> the 32bit depends on both
>
> /usr/bin/cyggd-3.dll  =>  libgd3-2.1.1-2
> /usr/bin/cygwebp-5.dll  =>  libwebp5-0.4.4-1
>
> the 64 bit is missing  the first.
> So in theory I should rebuild the 64 one to include the libgd3
> dependency.
>
> You can verify with
> objdump -x  cygMagickCore-6.Q16-2.dll|grep DLL |sort
>
> The libgd3-2.1.1-2 has on both 32 and 64 bit
>
>  $ objdump -x cyggd-3.dll |grep WebP
>         [   8] WebPDecode
>         [   9] WebPEncode
>         [  10] WebPGetInfo
>         [  11] WebPGetPSNR
>
> So before my rebuild we need to understand what's happened to
> libgd3.

OK, let's wait to hear from Volker (or maybe Yaakov has some insight?).

BTW, I've looked at the sources for gd-2.2.3-1, and the string 
"WebPDecode" appears only once, in a call to WebPDecodeARGB.  So I don't 
understand why there wasn't an ABI bump between versions 2.1.1 and 2.2.3.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list