← Back to team overview

desktop-packages team mailing list archive

[Bug 452733] Re: missing libsigc++-2.0 dependency breaks cairomm pkg-config search

 

** Changed in: mapnik (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cairomm in Ubuntu.
https://bugs.launchpad.net/bugs/452733

Title:
  missing libsigc++-2.0 dependency breaks cairomm pkg-config search

Status in cairomm package in Ubuntu:
  Fix Released
Status in mapnik package in Ubuntu:
  Fix Released
Status in cairomm package in Debian:
  Fix Released

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:~/src/mapnik-trunk$ pkg-config --libs 'cairomm-1.0'
  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/python2.6/dist-packages/mapnik/_mapnik.so:
  undefined symbol:
  _ZN6mapnik19cairo_renderer_base7processERKNS_15text_symbolizerERKNS_7featureINS_8geometryINS_6vertexIdLi2EEEEEN5boost10shared_ptrINS_6rasterEEEEERKNS_14proj_transformE

  Uninstalling the python-mapnik package, after installing libsigc++,
  then reinstalling python-mapnik fixes the above undefined symbol
  error.

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