Package: python-mapnik
Version: 0.7.1-3
Severity: normal

The Python 2.5 version of the Python mapnik library does not work at all:

robin@arrow:~$ python2.5 -c 'import mapnik'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/mapnik/", line 522, in <module>
  File "/usr/lib/pymodules/python2.5/mapnik/", line 512, in 
Boost.Python.ArgumentError: Python argument types in
did not match C++ signature:

The reason for this appears to be that the Python 2.5 version of the mapnik 
package is
linked against the Python 2.6 version of libboost_python:

robin@arrow:~$ ldd /usr/lib/pyshared/python2.5/mapnik/
    [...] => /usr/lib/ 

If this is manually overridden using LD_PRELOAD, the mapnik library then works 
with Python 2.5:

robin@arrow:~$ env LD_PRELOAD=/usr/lib/ python2.5 
-c 'import mapnik'


-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-mapnik depends on:
ii  libboost-python1.42.0  1.42.0-4          Boost.Python Library
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libmapnik0.7           0.7.1-3           C++/Python toolkit for developing 
ii  libpng12-0             1.2.44-1+squeeze1 PNG library - runtime
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  python                 2.6.6-3+squeeze6  interactive high-level object-orie
ii  python-cairo           1.8.8-1+b1        Python bindings for the Cairo vect
ii  python-support         1.0.10            automated rebuilding support for P

python-mapnik recommends no packages.

python-mapnik suggests no packages.

-- no debconf information

Pkg-grass-devel mailing list

Reply via email to