Closed suvash closed 9 years ago
This is not the end of the story. Because then, your program will only work on Macs that have the ICU dylibs in exactly the same locations as you, i.e., they need to have homebrew and they also need to have run brew install icu4c
before running your program.
One direction is to modify the dylibs so that they can be distributed together with your executable and placed in the same directory, e.g., as part of an app bundle. There is an SO thread with instructions about how to modify the dylibs. But I haven't been successful at getting that to work yet.
Thanks. That was tricky. I had tried using CPPFLAGS and LDFLAGS and PKG_CONFIG_PATH to no avail.
I just ran into this, agree that it should somehow be documented.
So, I failed while trying to use text-icu via cabal on osx/darwin.
After some good search, I found the following instructions to be quite helpful. Not sure where to document it as , but I'm just putting it up here so that it may help people who might run into the same issue.
Maybe this can eventually be pulled out to the project wiki once set up.