Red Hat Bugzilla – Bug 185122
gpgme-config --libs omits -lgpg-error
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
/usr/bin/gpgme-config --libs should print -lgpgme -lgpg-error
instead it prints -lgpgme only.
I see that the following line is commentd-out in /usr/bin/gpgme-config:
I think it needs to be uncommented.
This is a high severity because I am a KDE developer and I can't get
some of the KDE modules to compile because of this problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. simply run /usr/bin/gpgme-config --libs
BTW, in bugzilla there is no component for gpgme. please add one.
So I just put this under the gnupg component. you'll need to move this bug
to the correct component (once it has been created)
Fedora Extras has a gpgme component, moving.
IMO, If your code uses stuff from libgpg-error, then *you* should link to it,
and not depend on 'gpgme-config --libs' output to do it for you.
Furhter, gpgme developers told me in essence that "gpgme-config is for those who
do not use libtool." And, AFAIK, KDE apps/code does (should!) use libtool. (-:
Now, after all that, you still think there's a problem with leaving -lgpg-error
out, then please post a concrete example or code so that I can take a closer look.
Ok, go ahead and close this bug.
I'm solving the problem in a different manner using autoconf.
Glad to hear you got it working.