mapnik icon indicating copy to clipboard operation
mapnik copied to clipboard

Brew install instructions missing boost --with-icu4c

Open nathancahill opened this issue 8 years ago • 2 comments

Currently doing brew install mapnik gets Boost 1.63.0 and Mapnik 3.0.12. This causes an error when using mapnik:

dyld: Symbol not found: __ZN5boost11basic_regexIiNS_16icu_regex_traitsEE9do_assignEPKiS4_j
  Referenced from: /usr/local/Cellar/mapnik/3.0.12/lib/libmapnik.dylib
  Expected in: /usr/local/opt/boost/lib/libboost_regex.dylib
 in /usr/local/Cellar/mapnik/3.0.12/lib/libmapnik.dylib

Install Boost with icuc4 support:

brew install icu4c
brew install boost --with-icu4c

Then install Mapnik:

brew install mapnik

While debugging this, I also did:

brew link --force icu4c

But I don't think that had any relevance.

nathancahill avatar Jan 01 '17 20:01 nathancahill

Has this been addressed yet?

markgrahamdawson avatar Jun 20 '17 14:06 markgrahamdawson

Hey guys. Do you have troubles when make this part?

brew install icu4c
brew install boost --with-icu4c

Cause now there is no option --with-icu4c.

UPD: brew link --force icu4c helps me to install the latest boost with icu4c.

dasfex avatar Jun 11 '21 10:06 dasfex