This is the mail archive of the cygwin 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: emacs-w32 not starting - missing dependency?


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


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