mapnik / python-mapnik

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

_mapnik.so: undefined symbol: _ZTIN6mapnik15freetype_engineE #160

Open jomu78 opened 7 years ago

jomu78 commented 7 years ago

Hi,

I tried to install mapnik and python_mapnik on Debian 9 (stretch). When I execute python setup.py test, I get the error message as stated in the title.

libfreetype6 is installed, ldd _mapnik.so shows the reference to it.

Environment: python 2.7.13 mapnik 3.0.13 (from source) python-mapnik 3.0.13 (from source)

jomu78 commented 7 years ago

Hi again,

I got it running - I added libcairo2-dev and recompiled mapnik and python-mapnik and now it is running. Still think this is a bug as libcairo2 is marked optional and without it did not work.

Regards