public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Cc: Bruce Visscher <bruce.visscher@gmail.com>
Subject: Re: make missing shared libraries: cygguile-3.0-1.dll
Date: Wed, 17 May 2023 18:23:41 -0600	[thread overview]
Message-ID: <f92d49f1-3af1-2520-b862-3799539f8d9f@Shaw.ca> (raw)
In-Reply-To: <CA+JV0C37Oj-vcZgBqzWEkjLbCZJP2Foy_nyheFQFh6p43Q0ZdQ@mail.gmail.com>

On 2023-05-17 13:11, Bruce Visscher via Cygwin wrote:
> On Wed, May 17, 2023 at 10:43 AM Brian Inglis <Brian.Inglis@shaw.ca> wrote:
>> You need to generate cygcheck output using -hrsv options to include package info
>> for us to help you.

> I have attached the output of `cygcheck -hrsv`.  (Perhaps someone
> should update the FAQ?)

>> You need the library libguile3.0_1 installed - we can not see if that is the
>> case or if there are any issues.

>> You also need to drop C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin
>> from your PATH, at least in Cygwin, as it looks like it is being injected into
>> make execution to intercept what it is doing, but given that it is a MS JDK
>> hotspot, it is probably intended for some MS JDK make product, not Cygwin's, so
>> it will not work, and could damage something.

> I installed the package and removed C:\Program
> Files\Microsoft\jdk-11.0.16.101-hotspot\bin from PATH.

> Now, I get:

>> $ make
>> C:/cygwin64/bin/make.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

>> $ cygcheck make
>> Found: C:\cygwin64\bin\make.exe
>> C:\cygwin64\bin\make.exe
>>    C:\cygwin64\bin\cygwin1.dll
>>      C:\Windows\system32\KERNEL32.dll
>>        C:\Windows\system32\ntdll.dll
>>        C:\Windows\system32\KERNELBASE.dll
>>    C:\cygwin64\bin\cygguile-3.0-1.dll
>>      C:\cygwin64\bin\cygcrypt-2.dll
>> cygcheck: track_down: could not find cygffi-8.dll
>> cygcheck: track_down: could not find cyggc-1.dll
>>      C:\cygwin64\bin\cyggmp-10.dll
>>      C:\cygwin64\bin\cygiconv-2.dll
>>      C:\cygwin64\bin\cygintl-8.dll
>>      C:\cygwin64\bin\cygunistring-5.dll
>>      C:\cygwin64\bin\cyggcc_s-seh-1.dll

You are definitely missing and need to install libffi8 and libgc1.

Your installation is missing these, so Cygwin Setup Program should have detected 
and installed these along with libguile3.0_1, as they are dependencies and not 
installed!

Please always ensure that you download, install, and run the latest

	https://cygwin.com/setup-x86_64.exe

although it need not be updated if unchanged as determined by `wget -N` or
`curl -z`, and that all Cygwin processes have terminated before proceeding, os 
that all dlls and exes can be updated.

Before running the Cygwin Setup Program again, you may wish to check
/var/log/setup.log.full for errors e.g

	$ grep -i 'error:\|warning:' /var/log/setup.log.full

>> Check the mintty github repo for info about winpty, which has not been updated
>> since Windows added conpty support, which obsoleted it.
>> I think Cygwin and mintty support for Windows conpty has replaced it :

> As a matter of fact, perhaps I don't need winpty anymore.  I used to
> have to prefix some windows console apps with this but that doesn't
> seem to be necessary now.

>> https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/

>> https://github.com/mintty/mintty/wiki/Tips#inputoutput-interaction-with-alien-programs

> Thanks for these references!

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

  reply	other threads:[~2023-05-18  0:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  0:27 Bruce Visscher
2023-05-17 15:43 ` Brian Inglis
2023-05-17 19:11   ` Bruce Visscher
2023-05-18  0:23     ` Brian Inglis [this message]
2023-05-18 18:29       ` Bruce Visscher
2023-05-18  7:25     ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f92d49f1-3af1-2520-b862-3799539f8d9f@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=bruce.visscher@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).