libgnutls missing package configuration (PC) files

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/pkgconfig/*gnutls*
    ls: cannot access /usr/lib/pkgconfig/*gnutls*:
    No such file or directory

Jeffrey Walton (noloader)  on 2010-11-21
description:updated
description:updated
Jeffrey Walton (noloader) wrote on 2010-11-21: #1

Forgot to mention....

$ dpkg -s libgnutls26
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-Maintainer: Debian GnuTLS Maintainers <email address hidden>
Homepage: http://www.gnutls.org/

Jeffrey Walton (noloader)  on 2010-11-21
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/Desktop/gnutls-2.10.3/lib/gnutls.pc
/home/jeffrey/Desktop/gnutls-2.10.3/libextra/gnutls-extra.pc

$ 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/pkgconfig/ | wc
     58 58 913

tsg1zzn (tsg1zzn)  on 2010-11-21
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.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值