missing libsigc++-2.0 dependency breaks cairomm pkg-config search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cairomm (Debian) |
Fix Released
|
Unknown
|
|||
cairomm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mapnik (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu karmic (development branch)
Release: 9.10
To replicate:
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install libcairomm-1.0-1 libcairomm-1.0-dev
libsigc++ should have been installed when libcairomm* was requested but was not.
So, when trying to configure a package with pkg-config this fails:
$ pkg-config --exists 'cairomm-1.0'
dane@ubuntu:
Package sigc++-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sigc++-2.0', required by 'cairomm', not found
Manually running works:
$ sudo apt-get install libsigc*
$ pkg-config --libs 'cairomm-1.0'
-lcairomm-1.0 -lcairo -lsigc-2.0
This is affecting the python-mapnik package when installed from apt-get packages.
>>> import mapnik
leads to:
ImportError: /usr/lib/
Uninstalling the python-mapnik package, after installing libsigc++, then reinstalling python-mapnik fixes the above undefined symbol error.
Changed in cairomm (Ubuntu): | |
status: | New → Confirmed |
Changed in cairomm (Debian): | |
status: | Unknown → Fix Released |
Changed in mapnik (Ubuntu): | |
status: | New → Fix Released |
ping