Comment 0 for bug 678020

Revision history for this message
Jeffrey Walton (noloader) wrote :

* Not a security vulnerability *

libgnutls appears to be missing its package configuration file.

During causal reading of the GnuTLS online manual, section 7.1.5, Building the Sources, the manual states the following can be used to compile a program with the same settings used by the library. It seemed like a neat feature, so I wanted to try it.

    gcc -c foo.c `pkg-config gnutls --cflags`

Unfortunately, it appears the PC file is missing from Ubuntu 10.04:
    $ uname -a
    Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010
    x86_64 GNU/Linux
    $ pkg-config gnutls --cflags
    Package gnutls was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gnutls.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gnutls' found
    $ apt-cache pkgnames | grep libgnutls | sort
    libgnutls11-dev
    libgnutls13-dbg
    libgnutls26
    libgnutls26-dbg
    libgnutls5-dev
    libgnutls-dev
    $ pkg-config libgnutls26 --cflags
    Package libgnutls26 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libgnutls26.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libgnutls26' found
    $
    $ ls /usr/lib/pkgconfig/*gnutls*
    ls: cannot access /usr/lib/pkgconfig/*gnutls*: No such file or directory