mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
157 stars 91 forks source link

site-packages/mapnik-3.1.0-py2.7-linux-x86_64.egg/mapnik/_mapnik.so: undefined symbol: _ZTIN6icu_5713UnicodeStringE #183

Open zhoujiancn1 opened 6 years ago

zhoujiancn1 commented 6 years ago

I Install mapnik with mapnik-config -v 3.1.0; but I install python-mapnik,then rundemo.py ,

[root@vultr python]# python rundemo.py Traceback (most recent call last): File "rundemo.py", line 25, in import mapnik File "/usr/lib64/python2.7/site-packages/mapnik-3.1.0-py2.7-linux-x86_64.egg/mapnik/init.py", line 74, in from ._mapnik import * ImportError: /usr/lib64/python2.7/site-packages/mapnik-3.1.0-py2.7-linux-x86_64.egg/mapnik/_mapnik.so: undefined symbol: _ZTIN6icu_5713UnicodeStringE [root@vultr python]# mapnik-config Usage: mapnik-config [OPTION]

can you help me

gorshkov-leonid commented 6 years ago

I hav got the same problem (_ZTIN6icu_5713UnicodeStringE). mapnik 3.0.16, python mapnik 3.0.16, boost 1.65.1 with icu4c 62.1(in system). Ubuntu 18.04 (WSL). All of them apart from icu have build from sources. I note that mapnik 3.0.16 found own version icu. Can anybody help us?

gorshkov-leonid commented 6 years ago

there is solution #161