mapnik / python-mapnik

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

installation issue #157

Open markgrahamdawson opened 7 years ago

markgrahamdawson commented 7 years ago

Im having problems with Mapnik and python binding installation. I know this issue have been covered many times before but I cant get anything to work... I have tried installing both mapnik2 and mapnik3 with homebrew, pip and from source code inside and outside virtual environments. When setting up the python bindings I get the following error...

ImportError: dlopen(mapnik/_mapnik.so, 2): Symbol not found: __ZNK5boost16re_detail_10630031cpp_regex_traits_implementationIcE17transformprimaryEPKcS4 Referenced from: /usr/local/opt/mapnik/lib/libmapnik.dylib Expected in: /usr/local/opt/boost/lib/libboost_regex.dylib in /usr/local/opt/mapnik/lib/libmapnik.dylib

The most active thread i can find on the issue is here... https://github.com/Homebrew/homebrew-versions/issues/1146 however im not sure where the solution is given, if there even is one.

I am using python2.7 and OSx elcapitan