From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23642 invoked by alias); 19 Aug 2016 20:43:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23629 invoked by uid 89); 19 Aug 2016 20:43:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Notice, ord, H*MI:sk:dc6c9ca, H*i:sk:dc6c9ca X-HELO: limerock03.mail.cornell.edu Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 19 Aug 2016 20:43:45 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u7JKhg3O015989 for ; Fri, 19 Aug 2016 16:43:43 -0400 Received: from [192.168.1.9] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u7JKhfhj009001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 19 Aug 2016 16:43:42 -0400 Subject: Re: emacs-w32 not starting - missing dependency? To: cygwin@cygwin.com References: <966a14c2-ee69-7d3d-800e-a4f9f62a3ec9@gmail.com> From: Ken Brown Message-ID: Date: Fri, 19 Aug 2016 21:54:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00354.txt.bz2 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, >>>> >>>> When I type 'emacs' at the bash prompt, emacs does not start and the >>>> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and >>>> 'emacs --version' do the same, nothing is printed. >>>> >>>> My alternatives are set such that emacs points to emacs-w32. I also >>>> have >>>> emacs-nox and that works fine. >>>> >>>> If I run 'strace emacs-w32' I get an error dialog: >>>> >>>> "The procedure entry point WebPDecode could not be located in the >>>> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll." >>> >>>> Is this a known problem? If not I can attach cygcheck.out and the >>>> output >>>> from strace if that will help. >>> >>> It's not a known problem. >> >> It is now. I can reproduce the problem (only on 32-bit Cygwin). I'll >> look into it. > > The problem turns out to be related to the recent update of libgd3. > Reverting to the previous version fixes it. > > Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog > above, depends on cyggd-3.dll: > > $ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3 > C:\cygwin\bin\cyggd-3.dll > > Marco, is it possible that the libgd3 update requires a rebuild of > ImageMagick? Here's some further info: objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll [...] DLL Name: cyggd-3.dll vma: Hint/Ord Member-Name Bound-To 48ee2c 8 WebPDecode [...] I assume this means that ImageMagick expects to find WebPDecode in cyggd-3.dll. And it was indeed there in the previous version of libgd3: $ objdump -p /usr/bin/cyggd-3.dll | grep WebPDecode [ 8] WebPDecode With the current libgd3, however, we get $ objdump -p /usr/bin/cyggd-3.dll [...] DLL Name: cygwebp-5.dll vma: Hint/Ord Member-Name Bound-To 5c0b4 272 WebPDecodeARGB [...] and there is no other occurrence of the string WebPDecode in the output. 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