https://bugs.launchpad.net/ubuntu/+source/gnutls12/+bug/678020
libgnutls missing package configuration (PC) files
Bug Description
* Not a security vulnerability *
libgnutls appears to be missing its package configuration file, or the configuration file is not available.
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 or unavailable on Ubuntu 10.04 (x64):
$ 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/
ls: cannot access /usr/lib/
No such file or directory
description: | updated |
description: | updated |
Jeffrey Walton (noloader) wrote on 2010-11-21: | #1 |
description: | updated |
description: | updated |
Jeffrey Walton (noloader) wrote on 2010-11-21: | #2 |
It appears the only two GnuTLS related configuration files reside in local directories. from building the library from source.
$ find / -name *.pc 2>/dev/null | grep gnutls
/home/jeffrey/
/home/jeffrey/
$ ls /usr/lib | wc
1833 1833 33085
$ ls /usr/lib/pkgconfig/ | wc
58 58 913
$ ls /usr/lib64 | wc
1833 1833 33085
$ ls /usr/lib64/
58 58 913
affects: | ubuntu → gnutls12 (Ubuntu) |
Launchpad Janitor (janitor) wrote on 2013-12-01: | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in gnutls12 (Ubuntu): | |
status: | New → Confirmed |
zasran (erik-zasran) wrote on 2013-12-01: | #4 |
Bug still present in Ubuntu 13.10, apt-file search gnutls.pc returns nothing, when building e.g. rsyslog configure fails:
configure:17927: $PKG_CONFIG --exists --print-errors "gnutls >= 1.4.0"
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
Seems like it should be pretty simple to add it to the package since per previous comments the file gnutls.pc is actually generated, just not part of the package.
Forgot to mention....
$ dpkg -s libgnutls26 Maintainer: Debian GnuTLS Maintainers <email address hidden> www.gnutls. org/
Package: libgnutls26
Status: install ok installed
Priority: standard
Section: libs
Installed-Size: 1176
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: gnutls26
Version: 2.8.5-2
Replaces: gnutls0, gnutls0.4, gnutls3
Depends: libc6 (>= 2.8), libgcrypt11 (>= 1.4.2), libtasn1-3 (>= 1.6-0), zlib1g (>= 1:1.1.4)
Suggests: gnutls-bin
Conflicts: gnutls0, gnutls0.4
Description: the GNU TLS library - runtime library
gnutls is a portable library which implements the Transport Layer
Security (TLS) 1.0 and Secure Sockets Layer (SSL) 3.0 protocols.
.
Currently gnutls implements:
- the TLS 1.0 and SSL 3.0 protocols, without any US-export
controlled algorithms
- X509 Public Key Infrastructure (with several limitations).
- SRP for TLS authentication.
- TLS Extension mechanism
.
This package contains the runtime libraries.
Original-
Homepage: http://