gpgme question

Michael Anckaert xantor at xantor.tk
Mon Aug 12 23:54:02 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,
I am trying to use the gpgme librarie for qt application. I installed the 
libraries correctly, but when I try to compile a program I get the following 
output:

./a.out: error while loading shared libraries: libgpgme.so.6: cannot open 
shared object file: No such file or directory

I use the following command for compiling:

gcc -I /usr/local/include/ -L /usr/local/lib/ -l gpgme main.cpp

The program compiles correctly, but I can't run it. The main.cpp file has the 
following contents:

#include <gpgme.h>

int main(int argc, char argv)
{
	GpgmeCtx my_ctx;
	gpgme_new(&my_ctx);
}

You can see that it isn't much. I think there is a problem with the libraries, 
but just can't figure out how to fix it.

Thanks in advance


- -- 
Michael Anckaert
	aka The XanTor
http://www.xantor.tk
xantor at xantor.tk
OpenPGP: 0x508950E5
Key Fingerprint: 1882 7EB7 7C34 ECEC A104  9F50 9711 6E4A 5089 50E5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9WCC8lxFuSlCJUOURAp9PAKCIhQ4ytXyiftosuyiXQ9ID4lMuIgCeI0Xz
AJZC7wxR8iPLMws0TdtW96g=
=1zAF
-----END PGP SIGNATURE-----





More information about the Gnupg-devel mailing list