gpgme on Debian, followup
harry_b at mm.st
harry_b at mm.st
Fri Apr 8 11:03:57 CEST 2005
Hi once more,
I tried some more to get libgpgme to run and found the following:
When I try to run the dynamically linked version of 't-encrypt-sign'
(compiled with 'gcc -lgpgme t-encrypt-sign.c -o t-encrypt-sign') the
following happens when called like this:
------------------------------------------------------------------
$ GPGME_DEBUG=5 GNUPGHOME=. GPG_AGENT_INFO= ./t-encrypt-sign
gpgme_debug: level=5
posix-io.c:135: closing fd 4
posix-io.c:72: fd 3: about to read 79 bytes
posix-io.c:79: fd 3: got 79 bytes
fd 3: got `gpg (GnuPG) 1.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This progra'
posix-io.c:135: closing fd 3
t-support.h:56: Unspecified source: Invalid argument
------------------------------------------------------------------
It seems like it all fails right after it checks the gpg version.
When I run the statically linked version, the debug output looks like this:
------------------------------------------------------------------
$ GPGME_DEBUG=5 GNUPGHOME=. GPG_AGENT_INFO= ./t-encrypt-sign
gpgme_debug: level=5
posix-io.c:135: closing fd 4
posix-io.c:72: fd 3: about to read 79 bytes
posix-io.c:79: fd 3: got 79 bytes
fd 3: got `gpg (GnuPG) 1.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This progra'
posix-io.c:135: closing fd 3
Hallo Leute
posix-io.c:157: set notification for fd 3
posix-io.c:157: set notification for fd 4
posix-io.c:157: set notification for fd 5
posix-io.c:157: set notification for fd 6
posix-io.c:135: closing fd 4
posix-io.c:135: closing fd 6
posix-io.c:329: gpgme:select on [ r3 r5 ]
posix-io.c:375: select OK [ r3 r5 ]
...
------------------------------------------------------------------
Anyone who might spare some insight on this issue?
TIA, Harry
--
1024D/40F14012 18F3 736A 4080 303C E61E 2E72 7E05 1F6E 40F1 4012
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/S dx s: a C++ ULS++++$ P+++ L+++$ !E W++ N+ o? K? !w !O !M
V PS+ PE Y? PGP+++ t+ 5-- X+ R+ !tv b++ DI++ D+ G e* h r++ y++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050408/1033595e/attachment.pgp
More information about the Gnupg-users
mailing list