Skip to content

Instantly share code, notes, and snippets.

@okorz001
Created October 11, 2017 06:10
Show Gist options
  • Save okorz001/7715b40104ed0446bd228b40d7876674 to your computer and use it in GitHub Desktop.
Save okorz001/7715b40104ed0446bd228b40d7876674 to your computer and use it in GitHub Desktop.
Installing GnuTLS for Emacs on Windows for downloading packages over HTTPS
Download Emacs dependencies from GNU for your architecture:
http://ftp.gnu.org/gnu/emacs/windows/emacs-25-x86_64-deps.zip
http://ftp.gnu.org/gnu/emacs/windows/emacs-25-i686-deps.zip
The following DLLs need to be installed into Emacs's bin directory:
libffi-6.dll
libgmp-10.dll
libgnutls-30.dll
libhogweed-4-1.dll
libiconv-2.dll
libidn-11.dll
libintl-8.dll
libnettle-6-1.dll
libp11-kit-0.dll
libtasn1-6.dll
libwinpthread-1.dll
zlib1.dll
This list was determined by using dumpbin (from VS2017) recursively against libgnutls-30.dll and its dependencies.
I have confirmed that Emacs 25.3_1 (also downloaded from GNU) can download packages over HTTPS after installing these libraries.
Copy link

ghost commented Feb 22, 2018

Thank You @okorz001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment