[Bug 1026723] [NEW] Disagreement between pkg-config python and python-config
Launchpad Bug Tracker
1026723 at bugs.launchpad.net
Wed Aug 8 10:45:13 UTC 2012
You have been subscribed to a public bug:
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)
** Affects: python
Importance: Unknown
Status: Unknown
** Affects: python2.7 (Ubuntu)
Importance: Medium
Status: Confirmed
** Tags: amd64 apport-bug precise running-unity
--
Disagreement between pkg-config python and python-config
https://bugs.launchpad.net/bugs/1026723
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
More information about the foundations-bugs
mailing list