[Bug 1660915] [NEW] gnutls.pc should not directly link to libz.so in Libs.private

Matthieu Gautier 1660915 at bugs.launchpad.net
Wed Feb 1 08:47:23 UTC 2017


Public bug reported:

# Description
In /usr/lib/x86_64-linux-gnu/pkgconfig/gnutls.pc installed by libgnutls-dev :

Libs.private is used by pkg-config to give link flags when using the "--
static" option.

So Libs.private should contains internal libs used by gnutls to allow user to link statically with
gnutls.

If there is a direct link to a .so file, it's break static compilation.

The direct path to libz.so should be replace by "-lz"

# Ubuntu version
Ubuntu 16.04, 16.10

** Affects: gnutls28 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnutls28 in Ubuntu.
https://bugs.launchpad.net/bugs/1660915

Title:
  gnutls.pc should not directly link to libz.so in Libs.private

Status in gnutls28 package in Ubuntu:
  New

Bug description:
  # Description
  In /usr/lib/x86_64-linux-gnu/pkgconfig/gnutls.pc installed by libgnutls-dev :

  Libs.private is used by pkg-config to give link flags when using the "
  --static" option.

  So Libs.private should contains internal libs used by gnutls to allow user to link statically with
  gnutls.

  If there is a direct link to a .so file, it's break static
  compilation.

  The direct path to libz.so should be replace by "-lz"

  # Ubuntu version
  Ubuntu 16.04, 16.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnutls28/+bug/1660915/+subscriptions



More information about the foundations-bugs mailing list