Page MenuHome GnuPG

iconv.dll is still a problem
Closed, ResolvedPublic

Description

According to https://www.gnupg.org/download/iconv.en.html iconv.dll is not
needed as of 2.0.21. Have installed v2.1.9 but am getting the error...
"gpg:error loading 'iconv.dll': The specified module could not be found"

On the same URL above, we have a iconv.dll package (.zip) to use and a .sig for
that. The .sig file looks like being a bad (expired?) Werner Koch signature,
only obtained by importing the full block of data from
https://www.gnupg.org/signature_key.html

Would prefer not to need iconv.dll - as this is stated on the page. If error
(message) cannot be fixed - how about a link to a signed iconv.dll, with details
about the valid public key of the person distributing?

Thanks.

Details

Version
v2.1.9

Event Timeline

I would prefer if for Windows GnuPG would not use iconv at all as the Windows
API already provides encoding conversion calls. Win-iconv is a small wrapper
around Windows API calls to provide iconv API so that no code changes would be
necessary.

https://github.com/win-iconv/win-iconv

It could be treated as just another POSIX helper / wrapper and included directly
in GnuPG (licensed as public domain).

werner added a project: Feature Request.
werner added a subscriber: werner.

I don't count win-iconv a small helper.
We can solve this problem more easily by moving the ut8conv.c code to
libgpg-error which alread has some of the conversion code.

I change the category to whis because this is not a bug but a build requirement.

werner lowered the priority of this task from Normal to Wishlist.Jan 15 2016, 1:20 PM

I'm also interested in this, since i want to make it possible to easily build a
win32 version of gpgv.exe on debian systems. This is possible without iconv at
all in 1.4.x, but i would rather we ship a gpgv from 2.1.x in the future.

fwiw, i've now got most of GnuPG cross-building for win32 from a debian platform
using win-iconv. win-iconv doesn't seem to be a terrible choice to me.

I have implemented iconv in libgpg-error master (commit 1cd1ddb). This is a
stripped down version of win-iconv where I removed the feature to load another
libiconv and disabled the mlang.dll (whatever this is) for now.

With gnupg master commit bd4d656 tehre is no more need for libiconv for Windows.

Should be solved now: Use Libgpg-error 1.22 and GnuPG 2.1.12.

werner removed a project: Restricted Project.