gpgme question

Michael Anckaert xantor@xantor.tk
Mon Aug 12 22:54:02 2002


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

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

=2E/a.out: error while loading shared libraries: libgpgme.so.6: cannot op=
en=20
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=20
following contents:

#include <gpgme.h>

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

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

Thanks in advance


- --=20
Michael Anckaert
=09aka The XanTor
http://www.xantor.tk
xantor@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=3D
=3D1zAF
-----END PGP SIGNATURE-----