Page MenuHome GnuPG

"load-extension idea" lets gnupg.exe search C:\lib\gnupg\idea
Closed, ResolvedPublic

Description

Environment

Windows 2000 Service Pack 4, all patches

Description

gnupg is installed in %ProgramFiles%\GNU\GnuPG.
The configuration is stored in "%Userprofile%\Application Data\GnuPG\".
I needed IDEA, so I added the line "load-extension idea" to the gnupg.conf, and placed the IDEA.DLL in the installation directory of gnupg.exe, just beside ICONV.DLL and the other *.EXE.
Now every call to gnupg gives:

gpg: LoadLibrary failed: Das System kann die angegebene Datei nicht finden.

gpg: invalid module `c:\lib\gnupg\idea': Das angegebene Modul wurde nicht gefunden.

How To Repeat

See description

Fix

Don't use ANY hardcoded paths under Windows.
Use either paths relative to the installation directory, or just ".", i.e. the installation directory, as with ICONV.DLL

Event Timeline

werner added a subscriber: werner.

IDEA is not supported. We won't do any changes for it.