wrong gnutls.pc

Andreas Metzler ametzler at downhill.at.eu.org
Sun Feb 28 13:24:18 CET 2010


On 2010-02-26 Andreas Metzler <ametzler at downhill.at.eu.org> wrote:
> On 2010-02-26 Vincent Torri <vincent.torri at gmail.com> wrote:
> > Hey,
> > 
> > compiling libcurl on Windows with MinGW leads to undefined symbols. The
> > problem is in a bug in gnutls.pc. Indeed libgcrypt is a required dependency
> > (btw, it is not checked in gnutls/lib/configure.ac. I think that it must be
> > checked there. The library has a libgcrypt-config to  get cflags and libs).
> > Hence, -lgcrypt must appear in the Libs.private field of gnutls.pc

> Hello,

> This broke somewhere after 2.6.6. 2.6.6 still has
> Libs: -L${libdir} -lgnutls
> Libs.private: -L${exec_prefix}/lib -lgnutls -lgcrypt  -L/usr/lib -ltasn1

> but e.g. 2.7.11 is missing -lgcrypt in Libs.private.

> I will try to investigate further this weekend.
[...]

Patches against git head attached. This should also go to the 2.8.x
series.

cu andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-adapt-pkg-config-file-for-switch-from-AM_PATH_LIBGCR.patch
Type: text/x-diff
Size: 793 bytes
Desc: not available
URL: </pipermail/attachments/20100228/dd893a30/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-pkg-config-Move-libtasn1-from-Libs.private-to-Requir.patch
Type: text/x-diff
Size: 1448 bytes
Desc: not available
URL: </pipermail/attachments/20100228/dd893a30/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-pkg-config-drop-LIBGNUTLS_LIBS-from-Libs.private.-Th.patch
Type: text/x-diff
Size: 840 bytes
Desc: not available
URL: </pipermail/attachments/20100228/dd893a30/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-pkg-config-If-gnutls-is-built-with-zlib-support-list.patch
Type: text/x-diff
Size: 1283 bytes
Desc: not available
URL: </pipermail/attachments/20100228/dd893a30/attachment-0003.patch>


More information about the Gnutls-devel mailing list