[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: on how to install gnutls dlls on windows
From: |
Wayne Harris |
Subject: |
Re: on how to install gnutls dlls on windows |
Date: |
Mon, 19 Apr 2021 16:35:28 -0300 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sun, 18 Apr 2021 18:40:05 -0300
>> From: Wayne Harris via Users list for the GNU Emacs text editor
>> <help-gnu-emacs@gnu.org>
>>
>> I didn't expect the PATH to be involved here, but here's how to get it
>> to work invoking it through cmd.exe:
>>
>> C:\Users\x>cd \sys\emacs\bin
>>
>> C:\sys\emacs\bin>set PATH=c:/sys/emacs/usr/mingw/mingw64/bin/
>>
>> C:\sys\emacs\bin>echo %PATH%
>> c:/sys/emacs/usr/mingw/mingw64/bin/
>>
>> C:\sys\emacs\bin>emacs -Q
>>
>> *scratch* buffer: (gnutls-available-p) C-x C-e
>> Minibuffer says: (ClientHello\ Padding Key\ ...)
>> C-x C-c
>
> This probably means some of the dependencies of the GnuTLS DLL were
> not copied, and are found via PATH.
You're quite right, sir. Now I finally understood how to check such
dependencies --- for instance, the check is recursive. I had tried
using the dependency walker before, but could never quite understand its
output. Now I did. I was missing
LIBWINPTHREAD-1.DLL
LIBGCC_S_SEH-1.DLL
LIBGMP-10.DLL
LIBINTL-8.DLL
LIBP11-KIT-0.DLL
LIBTASN1-6.DLL
LIBIDN2-0.DLL
LIBICONV-2.DLL
LIBINTL-8.DLL
LIBP11-KIT-0.DLL
LIBFFI-7.DLL
LIBTASN1-6.DLL
LIBUNISTRING-2.DLL
and that was it.
If I may, I still have one question. When I look at the dependencies of
emacs.exe, I don't see, for instance, LIBGNUTLS-30.DLL. In fact, I only
see core Windows libraries.
--8<---------------cut here---------------start------------->8---
c:\windows\system32\ADVAPI32.DLL
c:\windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec\COMCTL32.DLL
c:\windows\system32\COMDLG32.DLL
c:\windows\system32\GDI32.DLL
c:\windows\system32\KERNEL32.DLL
c:\windows\system32\MPR.DLL
c:\windows\system32\MSVCRT.DLL
c:\windows\system32\OLE32.DLL
c:\windows\system32\SHELL32.DLL
c:\windows\system32\USER32.DLL
c:\windows\system32\USP10.DLL
c:\windows\system32\WINMM.DLL
c:\windows\system32\WINSPOOL.DRV
--8<---------------cut here---------------end--------------->8---
Doesn't emacs.exe depend on LIBGNUTLS-30.DLL?
>> I didn't know PATH was used to search for DLLs.
>
> Yes, it is. You can find the description of the full DLL search
> method on the MS docs site.
I did find it.
https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order
That was very educational. Thank you.
- on how to install gnutls dlls on windows, Wayne Harris, 2021/04/18
- Re: on how to install gnutls dlls on windows, Eli Zaretskii, 2021/04/18
- Re: on how to install gnutls dlls on windows, Wayne Harris, 2021/04/18
- Re: on how to install gnutls dlls on windows, Eli Zaretskii, 2021/04/18
- Re: on how to install gnutls dlls on windows, Wayne Harris, 2021/04/18
- Re: on how to install gnutls dlls on windows, Eli Zaretskii, 2021/04/19
- Re: on how to install gnutls dlls on windows,
Wayne Harris <=
- Re: on how to install gnutls dlls on windows, Óscar Fuentes, 2021/04/19
- Re: on how to install gnutls dlls on windows, Wayne Harris, 2021/04/20
- Re: on how to install gnutls dlls on windows, Óscar Fuentes, 2021/04/20
- Re: on how to install gnutls dlls on windows, Wayne Harris, 2021/04/20