GnuTLS and pkg-config

Brad Hards bradh at frogmouth.net
Sun Nov 21 04:26:38 CET 2010


On Sunday, November 21, 2010 01:53:42 pm Jeffrey Walton wrote:
> $ pkg-config gnutls --cflags
This is the right syntax (not the "gnutls26" thing you tried later). I get
bradh at bradh-VirtualBox:~$ pkg-config gnutls --libs
-lgnutls                                                                                                                                                                                                                                                                       
bradh at bradh-VirtualBox:~$ apt-cache pkgnames | grep libgnutls | sort                                                                                                                                                                                                           
libgnutls26                                                                                                                                                                                                                                                                    
libgnutls26-dbg                                                                                                                                                                                                                                                                
libgnutls-dev 
on my ubuntu 10.10 box, using packages.

Are you sure you've installed it correctly?
Have you tried looking for gnutls.pc on the filesystem?
Does it work for other packages?

In any case, it works from source, so this is an issue between you and your 
distro packages (rather than a gnutls issue).

Brad




More information about the Gnutls-help mailing list