4

我在使用 msysgit 的 Windows 上收到以下错误。无论我是从命令提示符还是与 Git 捆绑的 BASH 执行此操作都没有关系:

gpg: error loading `iconv.dll': 找不到指定的模块。

谷歌还没有产生任何好的结果。知道如何解决这个问题吗?我在与 gpg.exe 相同的 bin 文件夹中看到 libiconv2.dll。

4

2 回答 2

2

First, you should download the dll file "iconv.dll". The DLL is available as a ZIP file at the address ftp://ftp.gnupg.org/gcrypt/binary/libiconv-1.9.1.dll.zip. You should also get the corresponding ".sig" file and verify the integrity . This DLL has been built from the source package libiconv-1.9.1.tar.gz available at the same FTP sites. We distribute it separately for convenience and because GnuPG only requires this DLL and not the other files from the binary package. For copying conditions see the included file "COPYING.LIB".

To install this DLL, unzip it and copy the file "iconv.dll" to a directory where you usually keep DLLs. If you don't know such a directory, it is safe to copy it into the same directory as the "gpg.exe" file is stored.

于 2013-01-25T07:16:23.350 回答
1

如果“bash 与 git 捆绑”意味着您正在使用 cygwin:

确保你已经安装了 cygwin gpg 并且它是which gpg.

您可以使用 cygwin 安装程序 (setup.exe/setup-x86.exe/setup-x86_64.exe) 安装 gpg。搜索“gnupg”。它将在 Utils 下。

于 2014-11-21T12:56:16.367 回答