Public bug reported:

In Ubuntu 15.10:

1 install python-mapnik with:

sudo apt-get install python-mapnik

2 in a Python console, execute:

import mapnik

Expected result: mapnik module is imported.

Result:

  File "/usr/lib/python2.7/dist-packages/mapnik/__init__.py", line 74, in 
<module>
    from ._mapnik import *
ImportError: 
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.x86_64-linux-gnu.so: undefined 
symbol: 
_ZN6mapnik6filter19parse_image_filtersERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorINS_4util7variantIJNS0_4blurENS0_4grayENS0_14agg_stack_blurENS0_6embossENS0_7sharpenENS0_11edge_detectENS0_5sobelENS0_10x_gradientENS0_10y_gradientENS0_6invertENS0_10scale_hslaENS0_14colorize_alphaENS0_14color_to_alphaEEEESaISP_EE

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python-mapnik 1:0.0~20150817-da1d9dd-1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Oct 27 12:05:30 2015
InstallationDate: Installed on 2015-03-11 (230 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcEnviron:
 LANGUAGE=it
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: python-mapnik
UpgradeStatus: Upgraded to wily on 2015-10-25 (1 days ago)

** Affects: python-mapnik (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug mapnik wily

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

Title:
  ImportError while doing import mapnik in Python, in Ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mapnik/+bug/1510495/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to