help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GnuTLS and pkg-config


From: Jeffrey Walton
Subject: Re: GnuTLS and pkg-config
Date: Sat, 20 Nov 2010 22:49:09 -0500

On Sat, Nov 20, 2010 at 10:26 PM, Brad Hards <address@hidden> wrote:
> On Sunday, November 21, 2010 01:53:42 pm Jeffrey Walton wrote:
>> $ pkg-config gnutls --cflags
> This is the right syntax (not the "[lib]gnutls26" thing you tried later).
OK. Thanks. When pkg-config did not work for the general name, I began
trying specific names.

> address@hidden:~$ pkg-config gnutls --libs
> -lgnutls
> address@hidden:~$ 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?
I believe so. I usually use the point-and-click Synaptic Package
Manager out of laziness. I reserve apt-cache and apt-get for problems.

> Have you tried looking for gnutls.pc on the filesystem?
It looks like lots of libraries are missing the PC files, including GnuTLS.

$ ls /usr/lib | wc
   1833    1833   33085
$ ls /usr/lib/pkgconfig/ | wc
     58      58     913

> Does it work for other packages?
Going out on a limb, I'm guessing about 58 of 1800 or so will work.

> In any case, it works from source, so this is an issue between you and your
> distro packages (rather than a gnutls issue).
Agreed. I'll get a report in for the missing package configuration file.

Thanks for the help,
Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]