Comments (3)
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.
from text-icu.
Thanks. That was tricky. I had tried using CPPFLAGS and LDFLAGS and PKG_CONFIG_PATH to no avail.
from text-icu.
I just ran into this, agree that it should somehow be documented.
from text-icu.
Related Issues (20)
- Changelog for 0.8.0.5: mention new flag `homebrew`
- Upload the latest commit to Hackage
- Build breaks with icu 68 HOT 6
- Set up CI HOT 2
- Installation instructions for text-icu-0.8.0 ? HOT 6
- v0.8.0: Build failure with GHC < 8.10
- `pkgconfig-depends` in cabal file lacks lower bounds HOT 1
- Release 0.8.0.1 HOT 1
- macOS: ld: warning: directory not found for option '-L/opt/homebrew/opt/icu4c/lib'
- v0.7.{0.1,1.0} fails to build with GHC < 8.4 HOT 3
- v0.8.0.1: relax bound on `deepseq` to the one shipped with GHC 8.0 HOT 6
- GHC 9.4 build error: Couldn't match type βGHC.Word.Word8β with βWord16 HOT 2
- Make `pkg-config` dependency more robust
- `text-icu-0.8.0.*` fails to configure with `cabal 3.8.1.0` on `macOS-{11,12}` virtual environments
- macOS 12: Dynamic linking problem: `symbol not found in flat namespace (_u_charDigitValue_72)` HOT 4
- Add interface for BiDi levels
- Deprecation warning for `memcpy` with `bytestring >= 0.11.5`
- `collate` gives different results than applying `compare` on `sortKey`
- Test failure: missing `BlockCode`s ? HOT 10
- Getting the size of a grapheme cluster HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-icu.