[Bug 1026723] Re: Disagreement between pkg-config python and python-config

Matthias Klose doko at ubuntu.com
Mon Sep 10 11:14:21 UTC 2012


** Changed in: python3.2 (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  Disagreement between pkg-config python and python-config

Status in Python:
  New
Status in “python2.7” package in Ubuntu:
  Triaged
Status in “python3.2” package in Ubuntu:
  Triaged

Bug description:
  I've found a disagreement between:

  $ python-config --libs
  -lpthread -ldl -lutil -lm -lpython2.7

  and

  $ pkg-config python --static --libs
  -lpthread -ldl -lutil -lpython2.7

  It seems to me that pkg-config is missing is missing -lm. The full
  list of packages is also larger than specified here. An attempt to
  embed python interpreter in a hello-world library will fail with
  multiple linkage issues due to missing openssl, libz and a few other
  things.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: python-dev 2.7.3-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
  Uname: Linux 3.2.0-27-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: amd64
  Date: Thu Jul 19 19:37:50 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120218)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, user)
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/1026723/+subscriptions




More information about the foundations-bugs mailing list