Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go build --tags "icu" error #543

Closed
nntaoli opened this issue Mar 30, 2018 · 1 comment
Closed

go build --tags "icu" error #543

nntaoli opened this issue Mar 30, 2018 · 1 comment

Comments

@nntaoli
Copy link

nntaoli commented Mar 30, 2018

sqlite3-binding.c:171322:10:fatal error: 'unicode/utypes.h' file not found
os:
17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

@nntaoli
Copy link
Author

nntaoli commented Mar 30, 2018

fixed
`

  1. brew install icu4c
  2. brew link icu4c
  3. CGO_CFLAGS="-I/usr/local/opt/icu4c/include" CGO_LDFLAGS="-L/usr/local/opt/icu4c/lib" go build --tags "icu

"
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant