Open xuanchien opened 8 years ago
Thanks for the report @xuanchien !
@akivajp , could you take a look at this? I think you added these libraries. Maybe we need to find an m4 macro that finds the proper location of ICU.
This works for me. brew install icu4c && brew link icu4c
@hideakihata's fix worked for me. Note that
1) You will need to re-run ./configure
after the install
and
2) You may need to manually link icu4c:
export PATH=/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:$PATH
export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"
I think this can be marked as resolved.
Hi, I met the same problem with the error library not found for -licui18n
And I follow the solutions step by step that brew install icu4c
and met the warning:
`Warning: Refusing to link macOS-provided software: icu4c
If you need to have icu4c first in your PATH run:
echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile
For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include"
For pkg-config to find icu4c you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
Then I changed the environment variables like above.
And ./configure
Finally run make
However it presented the same problem. I wonder why, thank you!
Hi,
I got the following issue when compiling travatar on my Mac (version OS X 10.10.5). Here is the log:
Even though I have already installed icu4c using Homebrew, it does not solve the issue. Do you have any suggestions for resolving this?
Thanks in advance!