aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

Installing problen: ld: library not found for -licule #75

Open miguelwon opened 7 years ago

miguelwon commented 7 years ago

Hi, So I'm having some troubles installing pyicu in my mac. I'm running the following command:

CFLAGS='-I/usr/local/opt/icu4c/include -I/opt/local/include' LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pyicu

and it results in the error:

ld: library not found for -licule

Which library is this licule?

michaelwills commented 7 years ago

@miguelwon same problem here still on macOS Sierra. In the end I had to take the steps here:

https://stackoverflow.com/questions/33259191/installing-libicu-dev-on-mac/33352241

Short version:

brew install icu4c
brew link icu4c --force
saurabhhssaurabh commented 7 years ago

did not work for me. then I need to give ICU_VERSION manually in setup.py.