Bug#632891: missing -lgpg-error in gnutls.pc:Libs.private

Andreas Metzler ametzler at downhill.at.eu.org
Fri Jul 8 17:01:09 UTC 2011

On 2011-07-07 Marcin Owsiany <porridge at debian.org> wrote:
> On Thu, Jul 07, 2011 at 07:57:12PM +0200, Andreas Metzler wrote:
>> On 2011-07-06 Marcin Owsiany <porridge at debian.org> wrote:
>>> Package: libgnutls-dev
>>> Version: 2.10.5-2
>>> Severity: normal

>>> It is not possible to staticly link the following sample program while
>>> depending on the information provided by pkg-config, because the pkg-config
>>> file for gnutls only lists -lgcrypt, but not its static dependencies.

>> True. However since gcrypt does not provide a pkg-config file (not
>> wanted upstream) there is no elegant way to fix this. I guess we will
>> end up hardcoding gcrypt's static depends in gnutls' ./configure.

> Perhaps they could reconsider if you explain the rationale with this as
> an example?

It is a pretty weak argument, as gnutls nowadays prefers nettle over
gcrypt and has dropped gcrypt support in git HEAD.

> Alternatively, maybe the gcrypt Debian package maintainer could
> distribute the pkgconfig file? That would at least be a better place
> than gnutls...

That would be me. ;-) I think patching gnutls will be less work both
in the short and the long term, a gnutls patch has good chances of being
merged upstream.

cu andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

More information about the Pkg-gnutls-maint mailing list